User can specify custom "startOn" day for a week, for example
val w = new Week(2012, 2, 1, "Sunday")
As a PartialTime, Week has the following attributes
For default start day as Monday:
- smvTime form: W20120227
- timeType: "week"
- timeIndex: week number from 1970-01-01, with week-0 always be the week 1970-1-1 is in
- timeLabel form: "Week of 2012-02-27"
For custom start day:a Week(2012, 3, 4, "Sunday")
- smvTime form: W(7)20120304 - "(7)" here denotes the start day is a Sunday
- timeType: "week_start_on_Sunday"
Week PartialTime
User can specify custom "startOn" day for a week, for example
As a PartialTime, Week has the following attributes
For default start day as Monday: - smvTime form: W20120227 - timeType: "week" - timeIndex: week number from 1970-01-01, with week-0 always be the week 1970-1-1 is in - timeLabel form: "Week of 2012-02-27"
For custom start day:a Week(2012, 3, 4, "Sunday") - smvTime form: W(7)20120304 - "(7)" here denotes the start day is a Sunday - timeType: "week_start_on_Sunday"