net.sf.bt747.waba.system
Class WabaDate

java.lang.Object
  extended by waba.util.Date
      extended by net.sf.bt747.waba.system.WabaDate
All Implemented Interfaces:
BT747Date

public final class WabaDate
extends waba.util.Date
implements BT747Date

Author:
Mario De Weerd

Field Summary
 
Fields inherited from class waba.util.Date
APRIL, AUGUST, BACKWARD, DECEMBER, FEBRUARY, FORWARD, FRIDAY, JANUARY, JULY, JUNE, MARCH, MAY, MONDAY, monthNames, NOVEMBER, OCTOBER, SATURDAY, SEPTEMBER, SUNDAY, THURSDAY, TUESDAY, wasDateValid, WEDNESDAY
 
Constructor Summary
WabaDate()
           
WabaDate(int sentDay, int sentMonth, int sentYear)
           
WabaDate(java.lang.String strDate, byte dateFormat)
           
 
Method Summary
 int dateToUTCepoch1970()
          Return the date in the format usually used in the GPS devices: number of seconds since the epoch 1970.
 java.lang.String getDateString()
           
 
Methods inherited from class waba.util.Date
advance, advanceMonth, advanceMonth, advanceWeek, advanceWeek, equals, formatDate, formatDate, formatDayMonth, getDate, getDateInt, getDay, getDayOfWeek, getDaysInMonth, getDaysInMonth, getDaysInMonth, getJulianDay, getMonth, getMonthName, getWeek, getYear, isAfter, isBefore, setToday, toString, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface bt747.sys.interfaces.BT747Date
advance, getDay, getMonth, getYear
 

Constructor Detail

WabaDate

public WabaDate()

WabaDate

public WabaDate(int sentDay,
                int sentMonth,
                int sentYear)
Parameters:
sentDay -
sentMonth -
sentYear -

WabaDate

public WabaDate(java.lang.String strDate,
                byte dateFormat)
Parameters:
strDate -
dateFormat -
Method Detail

getDateString

public final java.lang.String getDateString()
Specified by:
getDateString in interface BT747Date

dateToUTCepoch1970

public final int dateToUTCepoch1970()
Description copied from interface: BT747Date
Return the date in the format usually used in the GPS devices: number of seconds since the epoch 1970.

Specified by:
dateToUTCepoch1970 in interface BT747Date
Returns:
number of seconds since the epoch.