-
Added startOfDay, startOfWeek, and fixedParse.
released this
2016-10-21 20:34:09 +00:00 | 9 commits to main since this releasestartOfDay(TimeInfo): TimeInfo
returns a newTimeInfo
representing
midnight at the beginning of the given day.startOfWeek(TimeInfo, WeekDay): TimeInfo
returns a newTimeInfo
representing midnight at the beginning of the first day of the week. By
default Monday is used as the start of the week (to be consistent with
times
view of the day order), but the user can pass in any other day to
"start" the week. Because this find the start of the current week, the
returnedTimeInfo
will always be a date in the past or present, never a
date in the future.
Downloads