クラス
java.time.temporal.ChronoUnitの使用
-
ChronoUnitを使用しているパッケージ パッケージ 説明 java.time.temporal フィールドと単位を使用した日時へのアクセス、および日時アジャスタ。java.util.concurrent 並行プログラミングでよく使用されるユーティリティ・クラスです。 -
-
java.time.temporalでのChronoUnitの使用
ChronoUnitを返すjava.time.temporalのメソッド 修飾子と型 メソッド 説明 static ChronoUnit
ChronoUnit. valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。static ChronoUnit[]
ChronoUnit. values()
この列挙型の定数を含む配列を、宣言されている順序で返します。 -
java.util.concurrentでのChronoUnitの使用
ChronoUnitを戻すjava.util.concurrentのメソッド 修飾子と型 メソッド 説明 ChronoUnit
TimeUnit. toChronoUnit()
このTimeUnit
を同等のChronoUnit
に変換します。型ChronoUnitのパラメータを持つjava.util.concurrentのメソッド 修飾子と型 メソッド 説明 static TimeUnit
TimeUnit. of(ChronoUnit chronoUnit)
ChronoUnit
を同等のTimeUnit
に変換します。
-