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

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