Skip to content

@technobuddha > library > Time > Week

Type Alias: ISOWeekOfYearOptions

ts
type ISOWeekOfYearOptions = {
  firstDayOfWeek?: DayOfWeek;
  utc?: boolean;
  weekOneIncludes?: DayOfWeek;
};

Defined in: iso-week-of-year.ts:11

Options for the isoWeekOfYear function

Properties

PropertyTypeDescriptionDefined in
firstDayOfWeek?DayOfWeekThe first day of the weeksrc/iso-week-of-year.ts:17
utc?booleanUse the utc timezonesrc/iso-week-of-year.ts:13
weekOneIncludes?DayOfWeekWeek 1 is defined as the week with the Gregorian year's first [weekOneIncludes] day in itsrc/iso-week-of-year.ts:15