Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface TimeFrame

    Represents a time frame indicating when a restriction is active.

    interface TimeFrame {
        dayAlternation: DayAlternation | null;
        daysOfMonth: DayAlternation | null;
        endDate: string | null;
        fromTime: string | null;
        repeatYearly: boolean | null;
        startDate: string | null;
        timeZone: string | null;
        toTime: string | null;
        weekdays: WeekDay[] | null;
    }
    Index
    dayAlternation: DayAlternation | null

    Alternating day filtering (e.g., even or odd days), pass null for all dates.

    daysOfMonth: DayAlternation | null

    Days of the month filtering (e.g., even or odd days), pass null for all dates.

    Use dayAlternation instead.

    endDate: string | null

    End date in "YYYY-MM-DD" format.

    fromTime: string | null

    Start time in 24-hour format ("HH:MM").

    repeatYearly: boolean | null

    Whether the time frame repeats yearly.

    startDate: string | null

    Start date in "YYYY-MM-DD" format.

    timeZone: string | null

    Time zone identifier (e.g., "Asia/Jerusalem").

    toTime: string | null

    End time in 24-hour format ("HH:MM").

    weekdays: WeekDay[] | null

    Bitmask representing the days of the week when active.