Class IsoDate

An ICU4X Date object capable of containing a ISO-8601 date

See the Rust documentation for Date for more information.

Constructors

  • Parameters

    • year: number
    • month: number
    • day: number

    Returns IsoDate

Accessors

  • get dayOfMonth(): number
  • Returns the 1-indexed day in the month for this date

    See the Rust documentation for day_of_month for more information.

    Returns number

  • get dayOfYear(): number
  • Returns the 1-indexed day in the year for this date

    See the Rust documentation for day_of_year for more information.

    Returns number

  • get daysInMonth(): number
  • Returns the number of days in the month represented by this date

    See the Rust documentation for days_in_month for more information.

    Returns number

  • get daysInYear(): number
  • Returns the number of days in the year represented by this date

    See the Rust documentation for days_in_year for more information.

    Returns number

  • get ffiValue(): number
  • Returns number

  • get month(): number
  • Returns 1-indexed number of the month of this date in its year

    See the Rust documentation for ordinal for more information.

    Additional information: 1

    Returns number

  • get monthsInYear(): number
  • Returns the number of months in the year represented by this date

    See the Rust documentation for months_in_year for more information.

    Returns number

  • get year(): number
  • Returns the year number in the current era for this date

    For calendars without an era, returns the extended year

    See the Rust documentation for year for more information.

    Returns number

Methods

""