Module temporal_rs::iso

source ·
Expand description

This module implements the internal ISO field slots.

The three main types of slots are:

  • IsoDateTime
  • IsoDate
  • IsoTime

An IsoDate represents the [[ISOYear]], [[ISOMonth]], and [[ISODay]] internal slots.

An IsoTime represents the [[ISOHour]], [[ISOMinute]], [[ISOsecond]], [[ISOmillisecond]], [[ISOmicrosecond]], and [[ISOnanosecond]] internal slots.

An IsoDateTime has the internal slots of both an IsoDate and IsoTime.

Structs§

  • IsoDate serves as a record for the [[ISOYear]], [[ISOMonth]], and [[ISODay]] internal fields.
  • IsoDateTime is the record of the IsoDate and IsoTime internal slots.
  • An IsoTime record that contains Temporal’s time slots.

Traits§

  • A trait for accessing the IsoDate across the various Temporal objects