Class FormattedDate
- java.lang.Object
-
- java.util.Date
-
- com.openindex.openestate.tool.utils.FormattedDate
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Date>
public class FormattedDate extends Date
FormattedDate.- Since:
- 1.0
- Author:
- Andreas Rudolph
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormattedDate(int dateType, int timeType)
FormattedDate(long time, int dateType, int timeType)
FormattedDate(Date date, int dateType, int timeType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormattedDate
createDateInstance(int dateType)
static FormattedDate
createDateInstance(long time, int dateType)
static FormattedDate
createDateInstance(Date date, int dateType)
static FormattedDate
createDateTimeInstance(int dateType, int timeType)
static FormattedDate
createDateTimeInstance(long time, int dateType, int timeType)
static FormattedDate
createDateTimeInstance(Date date, int dateType, int timeType)
static FormattedDate
createTimeInstance(int timeType)
static FormattedDate
createTimeInstance(long time, int timeType)
static FormattedDate
createTimeInstance(Date date, int timeType)
boolean
equals(Object obj)
DateFormat
getFormat()
int
hashCode()
boolean
isDate()
boolean
isTime()
String
toString()
-
Methods inherited from class java.util.Date
after, before, clone, compareTo, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toInstant, toLocaleString, UTC
-
-
-
-
Constructor Detail
-
FormattedDate
public FormattedDate(int dateType, int timeType)
-
FormattedDate
public FormattedDate(long time, int dateType, int timeType)
-
FormattedDate
public FormattedDate(Date date, int dateType, int timeType)
-
-
Method Detail
-
createDateInstance
public static FormattedDate createDateInstance(int dateType)
-
createDateInstance
public static FormattedDate createDateInstance(long time, int dateType)
-
createDateInstance
public static FormattedDate createDateInstance(Date date, int dateType)
-
createDateTimeInstance
public static FormattedDate createDateTimeInstance(int dateType, int timeType)
-
createDateTimeInstance
public static FormattedDate createDateTimeInstance(long time, int dateType, int timeType)
-
createDateTimeInstance
public static FormattedDate createDateTimeInstance(Date date, int dateType, int timeType)
-
createTimeInstance
public static FormattedDate createTimeInstance(int timeType)
-
createTimeInstance
public static FormattedDate createTimeInstance(long time, int timeType)
-
createTimeInstance
public static FormattedDate createTimeInstance(Date date, int timeType)
-
isDate
public boolean isDate()
-
isTime
public boolean isTime()
-
getFormat
public DateFormat getFormat()
-
-