|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.programix.time.DateTimeField
public final class DateTimeField
Used to specify a field in a date/time for the Gregorian calendar.
See each of the fields defined for specifics:
YEAR, MONTH, DAY,
HOUR, MINUTE, SECOND,
and MILLISECOND.
| Field Summary | |
|---|---|
static DateTimeField |
DAY
The day [date] of the month. |
static DateTimeField |
HOUR
The hour of the day in 24-hour format. |
static DateTimeField |
MILLISECOND
The millisecond of the second. |
static DateTimeField |
MINUTE
The minute of the hour. |
static DateTimeField |
MONTH
The month of the year. |
static DateTimeField |
SECOND
The second of the minute. |
static DateTimeField |
YEAR
The 4-digit year. |
| Constructor Summary | |
|---|---|
DateTimeField(int code,
String name)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Use this method instead of == to be sure that serialization or multiple class loaders have not resulted in multiple instances. |
String |
getName()
Returns the name of this anchor. |
static DateTimeField[] |
getValues()
Returns an array of all the legal values. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DateTimeField YEAR
public static final DateTimeField MONTH
public static final DateTimeField DAY
public static final DateTimeField HOUR
public static final DateTimeField MINUTE
public static final DateTimeField SECOND
public static final DateTimeField MILLISECOND
| Constructor Detail |
|---|
public DateTimeField(int code,
String name)
| Method Detail |
|---|
public String getName()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic static DateTimeField[] getValues()
|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||