Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- fromWeekDate :: WeekNumber -> DayOfWeek Gregorian -> Year -> Maybe (CalendarDate Gregorian)
Documentation
fromWeekDate :: WeekNumber -> DayOfWeek Gregorian -> Year -> Maybe (CalendarDate Gregorian) Source #
Smart constuctor for ISO calendar date based day within year week. Note that this method assumes weeks start on Monday and the first week of the year is the one which has at least four days in the new year. See the Gregorian module for alternative behavior