| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Temporal | [Back] [Original] |
Get to know MDN better
Temporal new Temporal Temporal Math
Temporal API 200 API
JavaScript Date Date API 2010 Java java.util.Date JavaScript Date
Date API
Date 2
Temporal Intl
Temporal.DurationTemporal.PlainDateTime : ZonedDateTime PlainDateTime
Instant |
ZonedDateTime |
PlainDateTime |
PlainDate |
PlainTime |
PlainYearMonth |
PlainMonthDay |
||
|---|---|---|---|---|---|---|---|---|
Instant | / | toInstant() | ZonedDateTime | |||||
ZonedDateTime | toZonedDateTimeISO() | / | toZonedDateTime() | toZonedDateTime() | PlainDate#toZonedDateTime() | PlainDate | ||
PlainDateTime | ZonedDateTime | toPlainDateTime() | / | toPlainDateTime() | PlainDate#toPlainDateTime() | |||
PlainDate | toPlainDate() | toPlainDate() | / | toPlainDate() | toPlainDate() | |||
PlainTime | toPlainTime() | toPlainTime() | / | |||||
PlainYearMonth | PlainDate | toPlainYearMonth() | / | PlainDate | ||||
PlainMonthDay | toPlainMonthDay() | PlainDate | / | |||||
Temporal API
Temporal ISO 8601 Intl.supportedValuesOf()
Temporal 1 yearmonthday 3 year 0 1 0month 1 date.monthsInYear 1 1 1 day 1 1 day
year era eraYear "CE" (Common Era) "BCE" (Before Common Era) -1 { era: "bce", eraYear: 2 } 0 1 BCE era eraYear 0
:
era eraYear year era/eraYear 1
era eraYear undefined era toLocaleString() year compare() daysInYear monthsInYear inLeapYear true 1 1 month 1 monthCode monthCode month monthCode 2 2 month
:
month monthCode 1 month 1 monthCode
monthCode month daysInMonth monthCode toLocaleString() monthCode 1 date.toLocaleString("en-US", { calendar: date.calendarId, month: "long" }) day 1 1 dayOfYear dayOfYear 1 date.daysInYear 1
7 4568 daysInWeek Temporal weekOfYear yearOfWeek weekOfYear 1 1 yearOfWeek year 1 2 yearOfWeek 2
:
weekOfYear yearOfWeek weekOfYear year
weekOfYear yearOfWeek undefined daysInWeek Temporal API Temporal ISO 8601 / RFC 3339 RFC 9557
YYYY-MM-DD T HH:mm:ss.sssssssss Z/HH:mm [time_zone_id] [u-ca=calendar_id]
RFC 9557
ISO 8601 Date
Temporal Unix 108 -271821-04-20T00:00:00 +275760-09-13T00:00:00
Temporal.Instant Temporal.ZonedDateTime epochNanoseconds Temporal.PlainDateTime UTC Unix (108 + 1) -271821-04-19T00:00:00 +275760-09-14T00:00:00 ZonedDateTime PlainDateTime Temporal.PlainDate PlainDateTime (12:00:00) -271821-04-19 +275760-09-13 PlainDateTime PlainDate Temporal.PlainYearMonth -271821-04 +275760-09 PlainDate PlainYearMonth ISO ISO -271821-03 Temporal /
from with() add(), subtract(), round()Temporal.Duration 2 /
Temporal.Instant Unix 1970 1 1 0 UTC
Temporal.Now Temporal.PlainDate 1 ISO 8601
Temporal.PlainDateTime Temporal.PlainMonthDay 1 ISO 8601 ISO
Temporal.PlainTime Temporal.PlainYearMonth 1 ISO 8601 ISO
Temporal.ZonedDateTime Temporal[Symbol.toStringTag][Symbol.toStringTag] "Temporal" Object.prototype.toString()
| Temporal # sec-temporal-objects |
| Web Proxy Viewer | New URL | Original Page |