Calendar.YMD.Year()->week()
 
   
[Top]
predef::
Calendar
Calendar.YMD
Calendar.YMD.Year

Method Calendar.YMD.Year()->week()


Method week

Week week()
Week week(int n)
Week week(string name)

Description

The Year type overloads the week() method, so it is possible to get a specified week by name:

year->week("17") year->week("w17")

The integer and no argument behavior is inherited from YMD ().

This is useful, since the first week of a year not always (about half the years, in the ISO calendar) is numbered '1'.


Insert any HTML comment here. You can use any HTML tags and containers. Use <phl> ... </phl> if you'd like to insert some Pike / C examples or code.
 
HTML OK CSS