|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Period | |
|---|---|
| org.jcoderz.commons.logging | |
| org.jcoderz.commons.types | This package contains common type classes that can be used by any jCoderz Java project. |
| Uses of Period in org.jcoderz.commons.logging |
|---|
| Constructors in org.jcoderz.commons.logging with parameters of type Period | |
|---|---|
PeriodFilter(Period[] periods)
Constructor. |
|
| Uses of Period in org.jcoderz.commons.types |
|---|
| Methods in org.jcoderz.commons.types that return Period | |
|---|---|
static Period |
Period.createDayPeriod(Date date)
A factory method to create a day period. |
static Period |
Period.createDayPeriod(Date start,
Date end)
A factory method to create a period from two timestamps where the hours, minutes, seconds, and milli-seconds are stripped off. |
static Period |
Period.createMonthPeriod(Date date)
A factory method to create a month period. |
static Period |
Period.createPeriod(Date start,
Date end)
A factory method to create a period from two timestamps of the type Date. |
Period |
Period.intersection(Period other)
Returns the intersection of two periods. |
Period |
Period.minus(long offset)
Returns a Period object whose start/end time lies exactly offset milliseconds before the start/end time of this period. |
Period |
Period.next()
Returns the next Period. |
Period |
Period.nextDay()
Returns the day period, that lies after this period. |
static Period |
Period.nextDay(Date date)
Returns the day period, that lies after the given date. |
Period |
Period.nextHour()
Returns the next clock hour period, that lies after this period. |
static Period |
Period.nextHour(Date date)
Returns the next clock hour period, that lies after the given date. |
Period |
Period.nextMonth()
Returns the month period, that lies after this period. |
static Period |
Period.nextMonth(Date date)
Returns the month period, that lies after the given date. |
Period |
Period.plus(long offset)
Returns a Period object whose start/end time lies exactly offset milliseconds after the start/end time of this period. |
Period |
Period.previous()
Returns the previous Period. |
Period |
Period.previousDay()
Returns the day period, that lies before this period. |
static Period |
Period.previousDay(Date date)
Returns the day period, that lies before the given date. |
Period |
Period.previousHour()
Returns the next clock hour period, that lies this this period. |
static Period |
Period.previousHour(Date date)
Returns the previous clock hour period, that lies befor the given date. |
Period |
Period.previousMonth()
Returns the month period, that lies before this period. |
static Period |
Period.previousMonth(Date date)
Returns the month period, that lies before the given date. |
Period |
YearMonth.toPeriod()
Returns this as period from start date to end date of this YearMonth. |
Period |
Period.union(Period other)
Returns the union of two periods. |
| Methods in org.jcoderz.commons.types with parameters of type Period | |
|---|---|
boolean |
Period.after(Period other)
Checks if this period is after the given period. |
boolean |
Period.before(Period other)
Checks if this period is before the given period. |
Period |
Period.intersection(Period other)
Returns the intersection of two periods. |
boolean |
Period.isIncluded(Period other)
Checks whether a specified period falls into the period defined by the instance. |
boolean |
Period.overlap(Period period)
Checks whether a specified period overlaps with this period. |
Period |
Period.union(Period other)
Returns the union of two periods. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||