org.opengts.util
Class DateTime.ParsedDateTime
java.lang.Object
org.opengts.util.DateTime.ParsedDateTime
- Enclosing class:
- DateTime
public static class DateTime.ParsedDateTime
- extends java.lang.Object
Class/Structure which holds date/time information
|
Constructor Summary |
DateTime.ParsedDateTime(java.util.TimeZone tz,
int year,
int month1,
int day)
|
DateTime.ParsedDateTime(java.util.TimeZone tz,
int year,
int month1,
int day,
int hour,
int minute,
int second)
|
DateTime.ParsedDateTime(java.util.TimeZone tz,
long epoch)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
timeZone
public java.util.TimeZone timeZone
epoch
public long epoch
year
public int year
month1
public int month1
day
public int day
hour24
public int hour24
minute
public int minute
second
public int second
DateTime.ParsedDateTime
public DateTime.ParsedDateTime(java.util.TimeZone tz,
long epoch)
DateTime.ParsedDateTime
public DateTime.ParsedDateTime(java.util.TimeZone tz,
int year,
int month1,
int day)
DateTime.ParsedDateTime
public DateTime.ParsedDateTime(java.util.TimeZone tz,
int year,
int month1,
int day,
int hour,
int minute,
int second)
getYear
public int getYear()
getMonth1
public int getMonth1()
getDayOfMonth
public int getDayOfMonth()
getHour24
public int getHour24()
getMinute
public int getMinute()
getSecond
public int getSecond()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
createDateTime
public DateTime createDateTime(java.util.TimeZone tzone)
createDateTime
public DateTime createDateTime()
getEpochTime
public long getEpochTime()
getDayNumber
public long getDayNumber()