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()
setYear
public void setYear(int YYYY)
getMonth1
public int getMonth1()
setMonth1
public void setMonth1(int MM)
getDayOfMonth
public int getDayOfMonth()
setDayOfMonth
public void setDayOfMonth(int DD)
getHour24
public int getHour24()
setHour24
public void setHour24(int hh)
getMinute
public int getMinute()
setMinute
public void setMinute(int mm)
getSecond
public int getSecond()
setSecond
public void setSecond(int ss)
setDayNumber
public void setDayNumber(long dayNumber)
setMinuteOfDay
public void setMinuteOfDay(int mod)
setSecondOfDay
public void setSecondOfDay(int sod)
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()