Expand description
The Temporal
crate is an implementation of ECMAScript’s Temporal
built-in objects.
The crate is being designed with both engine and general use in mind.
Temporal
is the Stage 3 proposal for ECMAScript that
provides new JS objects and functions for working with dates and
times that fully supports time zones and non-gregorian calendars.
This library’s primary source is the Temporal Proposal specification.
Modules§
- This module implements
TemporalError
. - Native implementation of the
Temporal
options. - This module implements Temporal Date/Time parsing functionality.
- Partial Date/Time component records.
- Implementation of the FiniteF64 primitive
Structs§
- The native Rust implementation of
Temporal.Duration
. - The native Rust implementation of
Temporal.Instant
- The native Rust implementation of
Temporal.PlainDate
. - The native Rust implementation of
Temporal.PlainDateTime
- The native Rust implementation of
Temporal.PlainMonthDay
- The native Rust implementation of
Temporal.PlainTime
. - The native Rust implementation of
Temporal.YearMonth
. - The error type for
boa_temporal
. - Re-export of
TinyAsciiStr
fromtinystr
. - The native Rust implementation of
Temporal.ZonedDateTime
.
Enums§
- A general Sign type.
Constants§
- Milliseconds per day constant: 8.64e+7
- Nanoseconds per day constant: 8.64e+13
Type Aliases§
- The
Temporal
result type