Package com.storedobject.core
Class DatePeriod
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDatePeriod(Date from, Date to) DatePeriod(Calendar from, Calendar to) DatePeriod(Date from, Date to) -
Method Summary
Modifier and TypeMethodDescriptionprotected DateCreates a shallow copy of the provided object.static DatePeriodcreate()static DatePeriodstatic DatePeriodstatic DatePeriodstatic DatePeriodprotected booleanCompares two objects of type T for equality.static DatePeriodstatic DatePeriodthisYear()static DatePeriodtillToday(int fromDays) static DatePeriodtillYesterday(int fromDays) protected StringConverts the provided data of type T to its string representation.static DatePeriodstatic DatePeriodMethods inherited from class com.storedobject.core.AbstractPeriod
getCalendarFrom, getCalendarTo, getDBCondition, getDBCondition, getDBTimeCondition, getDBTimeCondition, getMonth, getMonthFrom, getMonthTo, getPeriodInDays, getPeriodInMonths, getYear, getYearFrom, getYearTo, inside, inside, toDBString, toShortString, toString, value
-
Constructor Details
-
DatePeriod
-
DatePeriod
-
DatePeriod
-
-
Method Details
-
create
-
create
-
create
-
clone
Description copied from class:RangeCreates a shallow copy of the provided object. This method is used to generate a clone of the specified input object of the same type. -
same
Description copied from class:RangeCompares two objects of type T for equality. -
toString
Description copied from class:RangeConverts the provided data of type T to its string representation. -
getTimePeriod
-
thisMonth
-
monthTillToday
-
monthTillYesterday
-
thisYear
-
yearTillToday
-
yearTillYesterday
-
tillToday
-
tillYesterday
-