インタフェース
java.time.chrono.ChronoZonedDateTimeの使用
-
java.timeのChronoZonedDateTimeの使用
修飾子と型クラス説明final class
ISO-8601暦体系でのタイムゾーン付きの日付/時間(2007-12-03T10:15:30+01:00 Europe/Paris
など)。 -
java.time.chronoのChronoZonedDateTimeの使用
修飾子と型メソッド説明この時間をタイムゾーンと組み合わせて、ChronoZonedDateTime
を作成します。static ChronoZonedDateTime<?>
ChronoZonedDateTime.from
(TemporalAccessor temporal) 時間的オブジェクトからChronoZonedDateTime
のインスタンスを取得します。default ChronoZonedDateTime<D>
ChronoZonedDateTime.minus
(long amountToSubtract, TemporalUnit unit) 指定された期間を減算して、このオブジェクトと同じ型のオブジェクトを返します。default ChronoZonedDateTime<D>
ChronoZonedDateTime.minus
(TemporalAmount amount) 量を減算して、このオブジェクトと同じ型のオブジェクトを返します。ChronoZonedDateTime.plus
(long amountToAdd, TemporalUnit unit) 指定された期間を追加して、このオブジェクトと同じ型のオブジェクトを返します。default ChronoZonedDateTime<D>
ChronoZonedDateTime.plus
(TemporalAmount amount) ある時間を追加して、このオブジェクトと同じ型のオブジェクトを返します。default ChronoZonedDateTime<D>
ChronoZonedDateTime.with
(TemporalAdjuster adjuster) 調整を行って、このオブジェクトと同じ型の調整済オブジェクトを返します。ChronoZonedDateTime.with
(TemporalField field, long newValue) 指定されたフィールドを変更して、このオブジェクトと同じ型のオブジェクトを返します。ChronoZonedDateTime.withEarlierOffsetAtOverlap()
ゾーン・オフセットを、ローカル時系列のオーバーラップ時における2つの有効なオフセットのうちの早い方に変更して、この日付/時間のコピーを返します。ChronoZonedDateTime.withLaterOffsetAtOverlap()
ゾーン・オフセットを、ローカル時系列のオーバーラップ時における2つの有効なオフセットのうちの遅い方に変更して、この日付/時間のコピーを返します。ChronoZonedDateTime.withZoneSameInstant
(ZoneId zone) インスタントを保持したまま、別のタイムゾーンを使ってこの日付/時間のコピーを返します。ChronoZonedDateTime.withZoneSameLocal
(ZoneId zone) 可能であればローカル日付/時間を保持したまま、別のタイムゾーンを使って、この日付/時間のコピーを返します。default ChronoZonedDateTime<? extends ChronoLocalDate>
Chronology.zonedDateTime
(Instant instant, ZoneId zone) Instant
からこの暦でChronoZonedDateTime
を取得します。default ChronoZonedDateTime<? extends ChronoLocalDate>
Chronology.zonedDateTime
(TemporalAccessor temporal) もう一方のtemporal (一時)オブジェクトからこの暦でChronoZonedDateTime
を取得します。HijrahChronology.zonedDateTime
(Instant instant, ZoneId zone) HijrahChronology.zonedDateTime
(TemporalAccessor temporal) JapaneseChronology.zonedDateTime
(Instant instant, ZoneId zone) JapaneseChronology.zonedDateTime
(TemporalAccessor temporal) MinguoChronology.zonedDateTime
(Instant instant, ZoneId zone) MinguoChronology.zonedDateTime
(TemporalAccessor temporal) ThaiBuddhistChronology.zonedDateTime
(Instant instant, ZoneId zone) ThaiBuddhistChronology.zonedDateTime
(TemporalAccessor temporal) 修飾子と型メソッド説明static Comparator<ChronoZonedDateTime<?>>
ChronoZonedDateTime.timeLineOrder()
暦を無視して時系列順にChronoZonedDateTime
を比較するコンパレータを取得します。修飾子と型メソッド説明default int
ChronoZonedDateTime.compareTo
(ChronoZonedDateTime<?> other) 暦を含めて、この日付/時間を別の日付/時間と比較します。default boolean
ChronoZonedDateTime.isAfter
(ChronoZonedDateTime<?> other) この日付/時間のインスタントが、指定された日付/時間のインスタントより後であるかどうかをチェックします。default boolean
ChronoZonedDateTime.isBefore
(ChronoZonedDateTime<?> other) この日付/時間のインスタントが、指定された日付/時間のインスタントより前であるかどうかをチェックします。default boolean
ChronoZonedDateTime.isEqual
(ChronoZonedDateTime<?> other) この日付/時間のインスタントが、指定された日付/時間のインスタントと等しいかどうかをチェックします。