Constructor and Description |
---|
IntervalOfTime(PointInTime low,
PointInTime high) |
IntervalOfTime(PointInTime low,
PointInTime high,
boolean equalEndpointsAllowed) |
IntervalOfTime(PointInTime low,
PointInTime high,
boolean lowClosed,
boolean highClosed) |
IntervalOfTime(PointInTime low,
PointInTime high,
boolean lowClosed,
boolean highClosed,
boolean equalEndpointsAllowed) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
contains(IntervalOfTime i) |
boolean |
contains(PointInTime t) |
static IntervalOfTime |
convexHull(IntervalOfTime i1,
IntervalOfTime i2) |
PointInTime |
demote() |
boolean |
equals(Object obj) |
static IntervalOfTime |
forDay(int year,
int month,
int date) |
static IntervalOfTime |
forMonth(int year,
int month) |
static IntervalOfTime |
forTheLast(int years) |
static IntervalOfTime |
forTheLast(int years,
int months) |
static IntervalOfTime |
forTheLast(int years,
int months,
int days) |
static IntervalOfTime |
forTheLast(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int milliseconds) |
static IntervalOfTime |
forTheLast(org.joda.time.ReadablePeriod p) |
static IntervalOfTime |
forTheNext(int years) |
static IntervalOfTime |
forTheNext(int years,
int months) |
static IntervalOfTime |
forTheNext(int years,
int months,
int days) |
static IntervalOfTime |
forTheNext(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int milliseconds) |
static IntervalOfTime |
forTheNext(org.joda.time.ReadablePeriod p) |
static IntervalOfTime |
forYear(int year) |
PointInTime |
getCenter() |
PointInTime |
getHigh() |
PointInTime |
getLow() |
org.joda.time.Duration |
getWidth() |
int |
hashCode() |
IntervalOfTime |
hull(IntervalOfTime i) |
IntervalOfTime |
intersection(IntervalOfTime i) |
static IntervalOfTime |
intersection(IntervalOfTime i1,
IntervalOfTime i2) |
boolean |
isHighClosed() |
boolean |
isLowClosed() |
static IntervalOfTime |
since(int year) |
static IntervalOfTime |
since(int year,
int month) |
static IntervalOfTime |
since(int year,
int month,
int date) |
static IntervalOfTime |
since(int year,
int month,
int date,
int hour) |
static IntervalOfTime |
since(int year,
int month,
int date,
int hour,
int minute) |
static IntervalOfTime |
since(int year,
int month,
int date,
int hour,
int minute,
int second) |
static IntervalOfTime |
since(int year,
int month,
int date,
int hour,
int minute,
int second,
int millisecond) |
static IntervalOfTime |
since(PointInTime t) |
static IntervalOfTime |
thisMonth() |
static IntervalOfTime |
thisYear() |
IntervalOfTime |
toClosed()
Returns an IntervalOfTime that has both endpoints closed.
|
static IntervalOfTime |
today() |
org.joda.time.Period |
toPeriod() |
org.joda.time.Period |
toPeriod(org.joda.time.PeriodType periodType) |
String |
toString() |
static IntervalOfTime |
untilNow(org.joda.time.ReadablePeriod p) |
static IntervalOfTime |
untilToday(org.joda.time.ReadablePeriod p) |
static IntervalOfTime |
yearToDate() |
public IntervalOfTime(PointInTime low, PointInTime high)
public IntervalOfTime(PointInTime low, PointInTime high, boolean lowClosed, boolean highClosed)
public IntervalOfTime(PointInTime low, PointInTime high, boolean equalEndpointsAllowed)
public IntervalOfTime(PointInTime low, PointInTime high, boolean lowClosed, boolean highClosed, boolean equalEndpointsAllowed)
public PointInTime getLow()
public PointInTime getHigh()
public PointInTime getCenter()
public org.joda.time.Duration getWidth()
public org.joda.time.Period toPeriod()
public org.joda.time.Period toPeriod(org.joda.time.PeriodType periodType)
public boolean isLowClosed()
public boolean isHighClosed()
public PointInTime demote()
public IntervalOfTime toClosed()
public boolean contains(PointInTime t)
public boolean contains(IntervalOfTime i)
public IntervalOfTime intersection(IntervalOfTime i)
public IntervalOfTime hull(IntervalOfTime i)
public static IntervalOfTime intersection(IntervalOfTime i1, IntervalOfTime i2)
public static IntervalOfTime convexHull(IntervalOfTime i1, IntervalOfTime i2)
public static IntervalOfTime today()
public static IntervalOfTime thisMonth()
public static IntervalOfTime thisYear()
public static IntervalOfTime yearToDate()
public static IntervalOfTime forYear(int year)
public static IntervalOfTime forMonth(int year, int month)
public static IntervalOfTime forDay(int year, int month, int date)
public static IntervalOfTime forTheLast(org.joda.time.ReadablePeriod p)
public static IntervalOfTime forTheLast(int years)
public static IntervalOfTime forTheLast(int years, int months)
public static IntervalOfTime forTheLast(int years, int months, int days)
public static IntervalOfTime forTheLast(int years, int months, int days, int hours, int minutes, int seconds, int milliseconds)
public static IntervalOfTime forTheNext(org.joda.time.ReadablePeriod p)
public static IntervalOfTime forTheNext(int years)
public static IntervalOfTime forTheNext(int years, int months)
public static IntervalOfTime forTheNext(int years, int months, int days)
public static IntervalOfTime forTheNext(int years, int months, int days, int hours, int minutes, int seconds, int milliseconds)
public static IntervalOfTime since(PointInTime t)
public static IntervalOfTime since(int year)
public static IntervalOfTime since(int year, int month)
public static IntervalOfTime since(int year, int month, int date)
public static IntervalOfTime since(int year, int month, int date, int hour)
public static IntervalOfTime since(int year, int month, int date, int hour, int minute)
public static IntervalOfTime since(int year, int month, int date, int hour, int minute, int second)
public static IntervalOfTime since(int year, int month, int date, int hour, int minute, int second, int millisecond)
public static IntervalOfTime untilNow(org.joda.time.ReadablePeriod p)
public static IntervalOfTime untilToday(org.joda.time.ReadablePeriod p)
Copyright © 2013 Department of Veterans Affairs. All Rights Reserved.