temporal-fns
    Preparing search index...

    Interface EndOfWeekOptions

    interface EndOfWeekOptions {
        preserveTime?: boolean;
        weekStartsOn?: DayOfWeek;
    }
    Index

    Properties

    preserveTime?: boolean

    For time-bearing inputs, when true keeps the original wall-clock time on the last day of the week. When false (default), the time is set to 23:59:59.999999999.

    weekStartsOn?: DayOfWeek

    ISO day-of-week that marks the start of a week. Defaults to 1 (Monday), which makes Sunday the last day of the week.