org.homeunix.thecave.buddi.model.impl
Class Time

java.lang.Object
  extended by java.util.Date
      extended by org.homeunix.thecave.buddi.model.impl.Time
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<java.util.Date>

public class Time
extends java.util.Date

A wrapper around Time. We use a persistence delegate for Dates in the XML file to avoid storing more information than we need (and to avoid time zone bugs), but for certain things, such as Modified Date, we need more accuracy than just 'day'.

Author:
wyatt
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
Time()
           
Time(java.util.Date date)
           
Time(long time)
           
 
Method Summary
 
Methods inherited from class java.util.Date
after, before, clone, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, toString, UTC
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

Time

public Time()

Time

public Time(long time)

Time

public Time(java.util.Date date)