mobi.voiceassistant.client.model
Class DateTime
java.lang.Object
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
date
public final Date date
time
public final Time time
DateTime
public DateTime()
DateTime
public DateTime(Date date,
Time time)
DateTime
public DateTime(long date)
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