Class ICU4XIsoDate

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

See the Rust documentation for Date for more information.

Constructors

Methods

  • Returns the 1-indexed day in the month for this date

    See the Rust documentation for day_of_month for more information.

    Returns 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

  • 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

  • Returns if the year is a leap year for this date

    See the Rust documentation for is_in_leap_year for more information.

    Returns boolean

  • Returns 1-indexed number of the month of this date in its year

    See the Rust documentation for month for more information.

    Returns 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

  • Returns the week number in this month, 1-indexed, based on what is considered the first day of the week (often a locale preference).

    first_weekday can be obtained via first_weekday() on ICU4XWeekCalculator

    See the Rust documentation for week_of_month for more information.

    Parameters

    Returns number

  • Returns the year number for this date

    See the Rust documentation for year for more information.

    Returns number