public enum IntervalUnit extends Enum<IntervalUnit>
| 列挙型定数と説明 |
|---|
DAY_TIME |
YEAR_MONTH |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static IntervalUnit |
fromFlatbufID(short id) |
short |
getFlatbufID() |
static IntervalUnit |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static IntervalUnit[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final IntervalUnit YEAR_MONTH
public static final IntervalUnit DAY_TIME
public static IntervalUnit[] values()
for(IntervalUnit c: IntervalUnit.values()) System.out.println(c);
public static IntervalUnit valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public short getFlatbufID()
public static IntervalUnit fromFlatbufID(short id)
Copyright © 2018 The Apache Software Foundation. All rights reserved.