Enum DateTimePropertyEditor.TimeDispRange
java.lang.Object
java.lang.Enum<DateTimePropertyEditor.TimeDispRange>
org.iplass.mtp.view.generic.editor.DateTimePropertyEditor.TimeDispRange
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DateTimePropertyEditor.TimeDispRange>,java.lang.constant.Constable
- Enclosing class:
- DateTimePropertyEditor
public static enum DateTimePropertyEditor.TimeDispRange extends java.lang.Enum<DateTimePropertyEditor.TimeDispRange>
時間の表示範囲
SEC :秒まで表示 MIN :分まで表示 HOUR:時まで表示 NONE:非表示
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static booleanisDispHour(DateTimePropertyEditor.TimeDispRange val)時を表示するかを判定します。static booleanisDispMin(DateTimePropertyEditor.TimeDispRange val)分を表示するかを判定します。static booleanisDispSec(DateTimePropertyEditor.TimeDispRange val)秒を表示するかを判定します。static DateTimePropertyEditor.TimeDispRangevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DateTimePropertyEditor.TimeDispRange[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isDispHour
時を表示するかを判定します。- Parameters:
val- Enum値- Returns:
- 時を表示するか
-
isDispMin
分を表示するかを判定します。- Parameters:
val- Enum値- Returns:
- 分を表示するか
-
isDispSec
秒を表示するかを判定します。- Parameters:
val- Enum値- Returns:
- 秒を表示するか
-