|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectfleXplorer.Types.FacetsType
fleXplorer.Types.DateType
public class DateType
| Constructor Summary | |
|---|---|
DateType(java.util.Date date)
Construct a Date from a specific date. |
|
DateType(int year,
int month,
int day,
int hours,
int minutes,
int seconds)
Constructs a Date with specified year,month and day. |
|
DateType(long epoch)
Constructs a date from time stamp. |
|
| Method Summary | |
|---|---|
int |
getDay()
Returns the date's day. |
int |
getHours()
Returns the date's hour. |
int |
getMinutes()
Returns the date's minute. |
int |
getMonth()
Returns the date's month. |
int |
getSeconds()
Returns the date's second. |
java.lang.Object |
getValue()
Returns the date as object. |
java.lang.String |
getValueAsString()
Returns the String representation of the date. |
int |
getYear()
Returns the date's year. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateType(int year,
int month,
int day,
int hours,
int minutes,
int seconds)
year - the year of Date.month - the month of Date.day - the day of Date.public DateType(long epoch)
epoch - public DateType(java.util.Date date)
date - the date.| Method Detail |
|---|
public java.lang.Object getValue()
getValue in class FacetsTypepublic java.lang.String getValueAsString()
getValueAsString in class FacetsTypepublic int getYear()
public int getMonth()
public int getDay()
public int getHours()
public int getMinutes()
public int getSeconds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||