|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TimeSpan.TimeConstant>
org.torweg.pulse.util.time.TimeSpan.TimeConstant
public static enum TimeSpan.TimeConstant
the time constants.
| Enum Constant Summary | |
|---|---|
DAY
the day. |
|
HOUR
the hour. |
|
MINUTE
the minute. |
|
SECOND
the second. |
|
WEEK
the week. |
|
YEAR
the year. |
|
| Method Summary | |
|---|---|
char |
getCharacter()
|
long |
getScalar()
|
static TimeSpan.TimeConstant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TimeSpan.TimeConstant[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TimeSpan.TimeConstant SECOND
public static final TimeSpan.TimeConstant MINUTE
public static final TimeSpan.TimeConstant HOUR
public static final TimeSpan.TimeConstant DAY
public static final TimeSpan.TimeConstant WEEK
public static final TimeSpan.TimeConstant YEAR
| Method Detail |
|---|
public static final TimeSpan.TimeConstant[] values()
for(TimeSpan.TimeConstant c : TimeSpan.TimeConstant.values())
System.out.println(c);
public static TimeSpan.TimeConstant valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic char getCharacter()
public long getScalar()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||