Package anderix.util
Class SuperDate
java.lang.Object
anderix.util.SuperDate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddHours
(int hours) addMilliseconds
(int milliseconds) addMinutes
(int minutes) addSeconds
(int seconds) int
compareToDay
(SuperDate compareToSuperDate) int
compareToHours
(SuperDate compareToSuperDate) int
compareToMilliseconds
(SuperDate compareToSuperDate) int
compareToMinutes
(SuperDate compareToSuperDate) int
compareToMonth
(SuperDate compareToSuperDate) int
compareToSeconds
(SuperDate compareToSuperDate) int
compareToYear
(SuperDate compareToSuperDate) int
int
int
getHours()
int
int
int
getMonth()
int
int
getYear()
toDate()
-
Field Details
-
APRIL
public static final int APRIL- See Also:
-
AUGUST
public static final int AUGUST- See Also:
-
DECEMBER
public static final int DECEMBER- See Also:
-
FEBRUARY
public static final int FEBRUARY- See Also:
-
FRIDAY
public static final int FRIDAY- See Also:
-
JANUARY
public static final int JANUARY- See Also:
-
JULY
public static final int JULY- See Also:
-
JUNE
public static final int JUNE- See Also:
-
MARCH
public static final int MARCH- See Also:
-
MAY
public static final int MAY- See Also:
-
MONDAY
public static final int MONDAY- See Also:
-
NOVEMBER
public static final int NOVEMBER- See Also:
-
OCTOBER
public static final int OCTOBER- See Also:
-
SATURDAY
public static final int SATURDAY- See Also:
-
SEPTEMBER
public static final int SEPTEMBER- See Also:
-
SUNDAY
public static final int SUNDAY- See Also:
-
THURSDAY
public static final int THURSDAY- See Also:
-
TUESDAY
public static final int TUESDAY- See Also:
-
WEDNESDAY
public static final int WEDNESDAY- See Also:
-
-
Constructor Details
-
SuperDate
public SuperDate() -
SuperDate
-
SuperDate
public SuperDate(long d) -
SuperDate
- Throws:
ParseException
-
SuperDate
- Throws:
ParseException
-
-
Method Details
-
parse
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
getDayOfMonth
public int getDayOfMonth() -
getDayOfWeek
public int getDayOfWeek() -
getDayOfWeekString
-
getMonth
public int getMonth() -
getMonthString
-
getYear
public int getYear() -
getHours
public int getHours() -
getMinutes
public int getMinutes() -
getSeconds
public int getSeconds() -
getMilliseconds
public int getMilliseconds() -
toDate
-
addHours
-
addMinutes
-
addSeconds
-
addMilliseconds
-
toCalendar
-
formatDateFull
-
formatDateLong
-
formatDateShort
-
formatDateMedium
-
formatDateYearMonthDay
-
formatTimeFull
-
formatTimeLong
-
formatTimeShort
-
formatTimeMedium
-
formatDateTimeFull
-
formatDateTimeLong
-
formatDateTimeShort
-
formatDateTimeMedium
-
formatDateTimeStamp
-
formatDateTimeLocal
-
formatSql
-
formatSqlQuoted
-
format
-
compareToYear
-
compareToMonth
-
compareToDay
-
compareToHours
-
compareToMinutes
-
compareToSeconds
-
compareToMilliseconds
-