public class TodayWrapper extends SimpleDateWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TODAY |
Constructor and Description |
---|
TodayWrapper() |
TodayWrapper(java.util.Date date,
java.lang.String defaultFormat) |
TodayWrapper(java.lang.String defaultFormat) |
Modifier and Type | Method and Description |
---|---|
TodayWrapper |
addDays(int days) |
TodayWrapper |
addHours(int hours) |
TodayWrapper |
addMinutes(int minutes) |
TodayWrapper |
addMonths(int months) |
TodayWrapper |
addSeconds(int seconds) |
TodayWrapper |
addWeeks(int weeks) |
TodayWrapper |
addYears(int years) |
TodayWrapper |
clearTime() |
TodayWrapper |
firstDay() |
java.lang.String |
format() |
TodayWrapper |
lastDay() |
TodayWrapper |
setDate(int day,
int month,
int years) |
TodayWrapper |
setDay(int day) |
TodayWrapper |
setHours(int hours) |
TodayWrapper |
setMinutes(int minutes) |
TodayWrapper |
setMonth(int month) |
TodayWrapper |
setNextWeekday(int day)
Sets the date to match the next weekday.
|
TodayWrapper |
setPrevWeekday(int day) |
TodayWrapper |
setSeconds(int seconds) |
TodayWrapper |
setYear(int years) |
format, getDate, toString
public static final java.lang.String TODAY
public TodayWrapper()
public TodayWrapper(java.util.Date date, java.lang.String defaultFormat)
public TodayWrapper(java.lang.String defaultFormat)
public TodayWrapper addSeconds(int seconds)
public TodayWrapper addMinutes(int minutes)
public TodayWrapper addHours(int hours)
public TodayWrapper addWeeks(int weeks)
public TodayWrapper addDays(int days)
public TodayWrapper addMonths(int months)
public TodayWrapper addYears(int years)
public TodayWrapper firstDay()
public TodayWrapper lastDay()
public TodayWrapper setNextWeekday(int day)
public TodayWrapper setPrevWeekday(int day)
public TodayWrapper setDay(int day)
public TodayWrapper setMonth(int month)
public TodayWrapper setYear(int years)
public TodayWrapper setDate(int day, int month, int years)
public TodayWrapper setSeconds(int seconds)
public TodayWrapper setMinutes(int minutes)
public TodayWrapper setHours(int hours)
public TodayWrapper clearTime()
public java.lang.String format()
format
in class SimpleDateWrapper