インタフェース
java.time.temporal.TemporalAccessorの使用
TemporalAccessorを使用するパッケージ
パッケージ
説明
 日付、時間、インスタント、デュレーションのメインAPI。
 デフォルトのISO暦以外の暦体系の汎用API。
 日付と時間を出力し、解析するクラスを提供します。
 フィールドと単位を使用した日時へのアクセス、および日時アジャスタ。
- 
java.timeでのTemporalAccessorの使用TemporalAccessorを実装しているjava.timeのクラス修飾子と型クラス説明class「曜日」(「Tuesday」など)。class時系列の時点。classISO-8601暦体系のタイムゾーンのない日付、2007-12-03など。classISO-8601暦体系のタイムゾーンのない日付/時間、2007-12-03T10:15:30など。classISO-8601暦体系における、タイムゾーンのない時間(10:15:30など)。class「月」(「July」など)。classISO-8601暦体系における月日(--12-03など)。classISO-8601暦体系におけるUTC/グリニッジからのオフセット付きの日時(2007-12-03T10:15:30+01:00など)。classISO-8601暦体系におけるUTC/グリニッジからのオフセット付きの時間(10:15:30+01:00など)。classISO-8601暦体系での年(2007など)。classISO-8601暦体系での年-月(2007-12など)。classISO-8601暦体系でのタイムゾーン付きの日付/時間(2007-12-03T10:15:30+01:00 Europe/Parisなど)。classグリニッジ/UTCからのタイムゾーンのオフセット(+02:00など)。型TemporalAccessorのパラメータを持つjava.timeのメソッド修飾子と型メソッド説明static DayOfWeekDayOfWeek.from(TemporalAccessor temporal)時間的オブジェクトからDayOfWeekのインスタンスを取得します。static InstantInstant.from(TemporalAccessor temporal)Instantのインスタンスを時間的オブジェクトから取得します。static LocalDateLocalDate.from(TemporalAccessor temporal)時間的オブジェクトからLocalDateのインスタンスを取得します。static LocalDateTimeLocalDateTime.from(TemporalAccessor temporal)時間的オブジェクトからLocalDateTimeのインスタンスを取得します。static LocalTimeLocalTime.from(TemporalAccessor temporal)時間的オブジェクトからLocalTimeのインスタンスを取得します。static MonthMonth.from(TemporalAccessor temporal)時間的オブジェクトからMonthのインスタンスを取得します。static MonthDayMonthDay.from(TemporalAccessor temporal)時間的オブジェクトからMonthDayのインスタンスを取得します。static OffsetDateTimeOffsetDateTime.from(TemporalAccessor temporal)時間的オブジェクトからOffsetDateTimeのインスタンスを取得します。static OffsetTimeOffsetTime.from(TemporalAccessor temporal)時間的オブジェクトからOffsetTimeのインスタンスを取得します。static YearYear.from(TemporalAccessor temporal)時間的オブジェクトからYearのインスタンスを取得します。static YearMonthYearMonth.from(TemporalAccessor temporal)時間的オブジェクトからYearMonthのインスタンスを取得します。static ZonedDateTimeZonedDateTime.from(TemporalAccessor temporal)時間的オブジェクトからZonedDateTimeのインスタンスを取得します。static ZoneIdZoneId.from(TemporalAccessor temporal)時間的オブジェクトからZoneIdのインスタンスを取得します。static ZoneOffsetZoneOffset.from(TemporalAccessor temporal)時間的オブジェクトからZoneOffsetのインスタンスを取得します。
- 
java.time.chronoでのTemporalAccessorの使用java.time.chronoのTemporalAccessorのサブインタフェース修飾子と型インタフェース説明interface任意の暦で時またはタイム・ゾーンのない日付、高度なグローバリゼーション・ユース・ケース向けです。interfaceChronoLocalDateTime<D extends ChronoLocalDate>任意の暦のタイムゾーンのない日付/時間、高度なグローバリゼーション・ユース・ケース向けです。interfaceChronoZonedDateTime<D extends ChronoLocalDate>任意の暦のタイムゾーン付きの日付/時間、高度なグローバリゼーション・ユース・ケース向けです。interface時系列の紀元。TemporalAccessorを実装しているjava.time.chronoのクラス修飾子と型クラス説明classヒジュラ暦体系の日付。classヒジュラ暦体系の紀元。classISO暦体系の紀元。class和暦体系の日付。class和暦体系の紀元。class民国暦体系の日付。class民国暦体系の紀元。classタイ仏暦体系の日付。classタイ仏暦体系の紀元。型TemporalAccessorのパラメータを持つjava.time.chronoのメソッド修飾子と型メソッド説明Chronology.date(TemporalAccessor temporal)別の時間的オブジェクトから、この暦のローカル日付を取得します。HijrahChronology.date(TemporalAccessor temporal)IsoChronology.date(TemporalAccessor temporal)別の日付/時間オブジェクトからISO暦のローカル日付を取得します。JapaneseChronology.date(TemporalAccessor temporal)MinguoChronology.date(TemporalAccessor temporal)ThaiBuddhistChronology.date(TemporalAccessor temporal)static ChronoLocalDateChronoLocalDate.from(TemporalAccessor temporal)一時オブジェクトからChronoLocalDateのインスタンスを取得します。static ChronoLocalDateTime<?>ChronoLocalDateTime.from(TemporalAccessor temporal)時間的オブジェクトからChronoLocalDateTimeのインスタンスを取得します。static ChronologyChronology.from(TemporalAccessor temporal)時間的オブジェクトからChronologyのインスタンスを取得します。static ChronoZonedDateTime<?>ChronoZonedDateTime.from(TemporalAccessor temporal)時間的オブジェクトからChronoZonedDateTimeのインスタンスを取得します。static HijrahDateHijrahDate.from(TemporalAccessor temporal)時間的オブジェクトからイスラム・ウム・アルクラ暦のHijrahDateを取得します。static JapaneseDateJapaneseDate.from(TemporalAccessor temporal)時間的オブジェクトからJapaneseDateを取得します。static MinguoDateMinguoDate.from(TemporalAccessor temporal)時間的オブジェクトからMinguoDateを取得します。static ThaiBuddhistDateThaiBuddhistDate.from(TemporalAccessor temporal)時間的オブジェクトからThaiBuddhistDateを取得します。default ChronoLocalDateTime<? extends ChronoLocalDate>Chronology.localDateTime(TemporalAccessor temporal)別の時間的オブジェクトから、この暦のローカル日付/時間を取得します。HijrahChronology.localDateTime(TemporalAccessor temporal)IsoChronology.localDateTime(TemporalAccessor temporal)別の日付/時間オブジェクトからISO暦のローカル日付/時間を取得します。JapaneseChronology.localDateTime(TemporalAccessor temporal)MinguoChronology.localDateTime(TemporalAccessor temporal)ThaiBuddhistChronology.localDateTime(TemporalAccessor temporal)default ChronoZonedDateTime<? extends ChronoLocalDate>Chronology.zonedDateTime(TemporalAccessor temporal)もう一方のtemporal (一時)オブジェクトからこの暦でChronoZonedDateTimeを取得します。HijrahChronology.zonedDateTime(TemporalAccessor temporal)IsoChronology.zonedDateTime(TemporalAccessor temporal)もう一方の日付/時間オブジェクトからISOのゾーン付きの日付/時間を取得します。JapaneseChronology.zonedDateTime(TemporalAccessor temporal)MinguoChronology.zonedDateTime(TemporalAccessor temporal)ThaiBuddhistChronology.zonedDateTime(TemporalAccessor temporal)
- 
java.time.formatでのTemporalAccessorの使用TemporalAccessorを返すjava.time.formatのメソッド修飾子と型メソッド説明DateTimeFormatter.parse(CharSequence text)テキストを完全に解析して、時間的オブジェクトを生成します。DateTimeFormatter.parse(CharSequence text, ParsePosition position)このフォーマッタを使用してテキストを解析し、テキスト位置に対する制御を提供します。DateTimeFormatter.parseBest(CharSequence text, TemporalQuery<?>... queries)テキストを完全に解析して、指定されたいずれかのタイプのオブジェクトを生成します。DateTimeFormatter.parseUnresolved(CharSequence text, ParsePosition position)このフォーマッタを使用してテキストを解析しますが、高度なユース・ケース向けに、結果を解決しません。型TemporalAccessorのパラメータを持つjava.time.formatのメソッド修飾子と型メソッド説明DateTimeFormatter.format(TemporalAccessor temporal)このフォーマッタを使用して日付/時間オブジェクトを書式設定します。voidDateTimeFormatter.formatTo(TemporalAccessor temporal, Appendable appendable)このフォーマッタを使用して、日付/時間オブジェクトをAppendableに書式設定します。
- 
java.time.temporalでのTemporalAccessorの使用java.time.temporalのTemporalAccessorのサブインタフェース修飾子と型インタフェース説明interface時間的オブジェクト(日付、時間、オフセット、またはそれらのなんらかの組合せなど)への読取り/書込みアクセスを定義するフレームワークレベルのインタフェースです。修飾子と型メソッド説明default TemporalAccessorTemporalField.resolve(Map<TemporalField,Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)このフィールドを解決して、より簡単な代替または日付を提供します。型TemporalAccessorのパラメータを持つjava.time.temporalのメソッド修飾子と型メソッド説明longChronoField.getFrom(TemporalAccessor temporal)longTemporalField.getFrom(TemporalAccessor temporal)指定された時間的オブジェクトからこのフィールドの値を取得します。booleanChronoField.isSupportedBy(TemporalAccessor temporal)booleanTemporalField.isSupportedBy(TemporalAccessor temporal)このフィールドが時間的オブジェクトでサポートされているかどうかを確認します。TemporalQuery.queryFrom(TemporalAccessor temporal)指定された時間的オブジェクトを問い合せます。ChronoField.rangeRefinedBy(TemporalAccessor temporal)TemporalField.rangeRefinedBy(TemporalAccessor temporal)時間的オブジェクトを使用して結果を絞り込むことにより、このフィールドの有効値の範囲を取得します。default TemporalAccessorTemporalField.resolve(Map<TemporalField,Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)このフィールドを解決して、より簡単な代替または日付を提供します。