A day-of-week, such as 'Tuesday'.

See java.time.DayOfWeek for full documentation

Hierarchy

  • DayOfWeek

Constructors

Properties

FRIDAY: DayOfWeek
MONDAY: DayOfWeek
SATURDAY: DayOfWeek
SUNDAY: DayOfWeek
THURSDAY: DayOfWeek
TUESDAY: DayOfWeek
WEDNESDAY: DayOfWeek

Methods

  • Adjusts the specified temporal object to have this day-of-week.

    Parameters

    Returns Temporal

  • Gets the value of the specified field from this day-of-week as an int.

    Parameters

    Returns number

  • Gets the value of the specified field from this day-of-week as a long.

    Parameters

    Returns number

  • Gets the day-of-week int value.

    Returns number

  • Checks if the specified field is supported.

    Parameters

    Returns boolean

  • Returns the day-of-week that is the specified number of days before this one.

    Parameters

    • days: number

    Returns DayOfWeek

  • Returns the day-of-week that is the specified number of days after this one.

    Parameters

    • days: number

    Returns DayOfWeek

  • Queries this day-of-week using the specified query.

    Type Parameters

    • R

    Parameters

    Returns R

  • Obtains an instance of DayOfWeek from an int value.

    Parameters

    • dayOfWeek: number

    Returns DayOfWeek

  • Returns the enum constant of this type with the specified name.

    Parameters

    • name: string

    Returns DayOfWeek

  • Returns an array containing the constants of this enum type, in the order they are declared.

    Returns DayOfWeek[]

Generated using TypeDoc