パッケージ org.iplass.mtp.definition

列挙 TimeUnit

  • すべての実装されたインタフェース:
    java.io.Serializable, java.lang.Comparable<TimeUnit>, java.lang.constant.Constable

    public enum TimeUnit
    extends java.lang.Enum<TimeUnit>
    • ネストされたクラスの概要

      • クラスから継承されたネストされたクラス/インタフェース java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • メソッドの概要

      修飾子とタイプ メソッド 説明
      static java.util.concurrent.TimeUnit applyTimeUnit​(TimeUnit timeunit)  
      static TimeUnit currentTimeUnit​(java.util.concurrent.TimeUnit timeunit)  
      static TimeUnit valueOf​(java.lang.String name)
      指定した名前を持つこの型の列挙型定数を返します。
      static TimeUnit[] values()
      この列挙型の定数を含む配列を宣言されている順序で 返します。
      • クラスから継承されたメソッド java.lang.Enum

        clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • クラスから継承されたメソッド java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 列挙型定数の詳細

      • NANOSECONDS

        public static final TimeUnit NANOSECONDS
      • MICROSECONDS

        public static final TimeUnit MICROSECONDS
      • MILLISECONDS

        public static final TimeUnit MILLISECONDS
      • SECONDS

        public static final TimeUnit SECONDS
      • MINUTES

        public static final TimeUnit MINUTES
      • HOURS

        public static final TimeUnit HOURS
      • DAYS

        public static final TimeUnit DAYS
    • メソッドの詳細

      • values

        public static TimeUnit[] values()
        この列挙型の定数を含む配列を宣言されている順序で 返します。
        戻り値:
        この列挙型の定数を含む、宣言されている順序での配列
      • valueOf

        public static TimeUnit valueOf​(java.lang.String name)
        指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)
        パラメータ:
        name - 返される列挙型定数の名前。
        戻り値:
        指定した名前の列挙型定数
        例外:
        java.lang.IllegalArgumentException - この列挙型に、指定した名前の定数がない場合
        java.lang.NullPointerException - 引数がnullの場合
      • applyTimeUnit

        public static java.util.concurrent.TimeUnit applyTimeUnit​(TimeUnit timeunit)
      • currentTimeUnit

        public static TimeUnit currentTimeUnit​(java.util.concurrent.TimeUnit timeunit)