Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13700

[Docs][C++] Clarify DayOfWeekOptions args

    XMLWordPrintableJSON

Details

    Description

      Minor docs improvement suggestion:

      The docs for DayOfWeekOptions say: 

      bool one_based_numbering
      Number days from 1 if true and from 0 if false.

      uint32_t week_start
      What day does the week start with (Monday=1, Sunday=7)

      This might confuse some users into thinking that the meaning of week_start is dependent on the value of one_based_numbering. For example, some users might think that if they set one_based_numbering=0, then week_start=1 will be interpreted to mean Sunday instead of Monday.

      Add a sentence in the docs explaining that the meaning of number passed to week_start is unaffected by the choice of one_based_numbering.

      Attachments

        Issue Links

          Activity

            People

              rokm Rok Mihevc
              icook Ian Cook
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m