Class ICU4XIsoDateTime

An ICU4X DateTime object capable of containing a ISO-8601 date and time.

See the Rust documentation for DateTime 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 the hour in this time

    See the Rust documentation for hour for more information.

    Returns number

  • Returns whether this date is in a leap year

    See the Rust documentation for is_in_leap_year for more information.

    Returns boolean

  • Returns the minute in this time

    See the Rust documentation for minute for more information.

    Returns number

  • 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 nanosecond in this time

    See the Rust documentation for nanosecond for more information.

    Returns number

  • Returns the second in this time

    See the Rust documentation for second 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

""