org.opengts.util
Class DateTime.ParsedDateTime

java.lang.Object
  extended by org.opengts.util.DateTime.ParsedDateTime
Enclosing class:
DateTime

public static class DateTime.ParsedDateTime
extends java.lang.Object

Class/Structure which holds date/time information


Field Summary
 int day
           
 long epoch
           
 int hour24
           
 int minute
           
 int month1
           
 int second
           
 java.util.TimeZone timeZone
           
 int year
           
 
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)
           
 
Method Summary
 DateTime createDateTime()
           
 DateTime createDateTime(java.util.TimeZone tzone)
           
 long getDayNumber()
           
 int getDayOfMonth()
           
 long getEpochTime()
           
 int getHour24()
           
 int getMinute()
           
 int getMonth1()
           
 int getSecond()
           
 int getYear()
           
 void setDayNumber(long dayNumber)
           
 void setDayOfMonth(int DD)
           
 void setHour24(int hh)
           
 void setMinute(int mm)
           
 void setMinuteOfDay(int mod)
           
 void setMonth1(int MM)
           
 void setSecond(int ss)
           
 void setSecondOfDay(int sod)
           
 void setYear(int YYYY)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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()