I believe those values are only really used when you specify dates in
different formats that we don't really us in the US. For example, rather
than saying

  Jan 8, 2020

You could alternatively say

  Year 2020, 2nd week of the year, 4th day of the week

But the latter depends on what you consider the first week of the year,
and the first day of the week.

If you consider Sunday the first day, then Jan 8 is the 4th day of the
week, but if you consider Monday the first day of the week, then Jan 8
is the 3rd day of the week. Different calendar systems have different
starts of the week, so these properties support this variability.

Similarly, what do you consider the first week of the year. Is it the
week containing January 1st, or is the first week that is completely in
Janurary (again, depends on first day of week), or somewhere in between.
Again, different calendar systems have different answers for these
questions, which affects these day of week/week of year dates.

On 5/1/20 11:36 AM, Costello, Roger L. wrote:
> Hi Folks,
> 
> When specifying that a data item has a calendar date/time value, you must 
> specify, among others, these properties:
> 
>  - calendarFirstDayOfWeek
>  - calendarDaysInFirstWeek
> 
> Huh?
> 
> Is that the first day of the week and the days in the first week for the 
> current year (2020)? If so, my DFDL schema will break in 2021, right?
> 
> Or, is it the first day of the week and the days in the first week for the 
> input value? If so, my DFDL schema will break when I change the input value, 
> right?
> 
> I thought I understood the calendar properties, but now realize that I don't. 
> Please help!
> 
> /Roger
> 

Reply via email to