Enum Class DateTimePropertyEditor.TimeDispRange
java.lang.Object
java.lang.Enum<DateTimePropertyEditor.TimeDispRange>
org.iplass.mtp.view.generic.editor.DateTimePropertyEditor.TimeDispRange
- All Implemented Interfaces:
Serializable
,Comparable<DateTimePropertyEditor.TimeDispRange>
,Constable
- Enclosing class:
DateTimePropertyEditor
public static enum DateTimePropertyEditor.TimeDispRange
extends Enum<DateTimePropertyEditor.TimeDispRange>
時間の表示範囲
SEC :秒まで表示 MIN :分まで表示 HOUR:時まで表示 NONE:非表示
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
時を表示するかを判定します。static boolean
分を表示するかを判定します。static boolean
秒を表示するかを判定します。Returns the enum constant of this class with the specified name.static DateTimePropertyEditor.TimeDispRange[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SEC
-
MIN
-
HOUR
-
NONE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isDispHour
時を表示するかを判定します。- Parameters:
val
- Enum値- Returns:
- 時を表示するか
-
isDispMin
分を表示するかを判定します。- Parameters:
val
- Enum値- Returns:
- 分を表示するか
-
isDispSec
秒を表示するかを判定します。- Parameters:
val
- Enum値- Returns:
- 秒を表示するか
-