mobi.voiceassistant.client.model
Class DateTime

java.lang.Object
  extended by mobi.voiceassistant.client.model.DateTime
All Implemented Interfaces:
Serializable

public class DateTime
extends Object
implements Serializable

Created with IntelliJ IDEA. User: morfeusys Date: 12.07.12 Time: 16:41

See Also:
Serialized Form

Field Summary
 Date date
           
 Time time
           
 
Constructor Summary
DateTime()
           
DateTime(Date date, Time time)
           
DateTime(long date)
           
 
Method Summary
 boolean equals(Object o)
           
 String format(String datePattern)
           
 Calendar getCalendar()
           
 Calendar getCalendar(boolean relative)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

public final Date date

time

public final Time time
Constructor Detail

DateTime

public DateTime()

DateTime

public DateTime(Date date,
                Time time)

DateTime

public DateTime(long date)
Method Detail

getCalendar

public Calendar getCalendar()

getCalendar

public Calendar getCalendar(boolean relative)

format

public String format(String datePattern)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object