public class FormattedDate extends Date
Constructor and Description |
---|
FormattedDate(Date date,
int dateType,
int timeType) |
FormattedDate(int dateType,
int timeType) |
FormattedDate(long time,
int dateType,
int timeType) |
Modifier and Type | Method and Description |
---|---|
static FormattedDate |
createDateInstance(Date date,
int dateType) |
static FormattedDate |
createDateInstance(int dateType) |
static FormattedDate |
createDateInstance(long time,
int dateType) |
static FormattedDate |
createDateTimeInstance(Date date,
int dateType,
int timeType) |
static FormattedDate |
createDateTimeInstance(int dateType,
int timeType) |
static FormattedDate |
createDateTimeInstance(long time,
int dateType,
int timeType) |
static FormattedDate |
createTimeInstance(Date date,
int timeType) |
static FormattedDate |
createTimeInstance(int timeType) |
static FormattedDate |
createTimeInstance(long time,
int timeType) |
DateFormat |
getFormat() |
boolean |
isDate() |
boolean |
isTime() |
String |
toString() |
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, UTC
public FormattedDate(int dateType, int timeType)
public FormattedDate(long time, int dateType, int timeType)
public FormattedDate(Date date, int dateType, int timeType)
public static FormattedDate createDateInstance(int dateType)
public static FormattedDate createDateInstance(long time, int dateType)
public static FormattedDate createDateInstance(Date date, int dateType)
public static FormattedDate createDateTimeInstance(int dateType, int timeType)
public static FormattedDate createDateTimeInstance(long time, int dateType, int timeType)
public static FormattedDate createDateTimeInstance(Date date, int dateType, int timeType)
public static FormattedDate createTimeInstance(int timeType)
public static FormattedDate createTimeInstance(long time, int timeType)
public static FormattedDate createTimeInstance(Date date, int timeType)
public boolean isDate()
public boolean isTime()
public DateFormat getFormat()
Copyright © 2017 OpenEstate. All rights reserved.