|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JaretDate | |
---|---|
de.jaret.util.date | This package contains utility classes and interfaces for handling dates. |
de.jaret.util.date.iterator | This package contains a utility interface for iterating dates and some implementations thereof. |
Uses of JaretDate in de.jaret.util.date |
---|
Fields in de.jaret.util.date declared as JaretDate | |
---|---|
protected JaretDate |
IntervalImpl._begin
begin date. |
protected JaretDate |
IntervalImpl._end
end date. |
Methods in de.jaret.util.date that return JaretDate | |
---|---|
JaretDate |
JaretDate.advanceDays(double days)
Adds a number of days to the date. |
JaretDate |
JaretDate.advanceDays(int days)
Advance by a certain number of days. |
JaretDate |
JaretDate.advanceHours(double hours)
|
JaretDate |
JaretDate.advanceMillis(long millis)
|
JaretDate |
JaretDate.advanceMinutes(double minutes)
|
JaretDate |
JaretDate.advanceMonths(int months)
Advance by a certain number of months. |
JaretDate |
JaretDate.advanceSeconds(double seconds)
|
JaretDate |
JaretDate.advanceYears(int years)
Advance by a certain number of years. |
JaretDate |
JaretDate.backDays(double days)
|
JaretDate |
JaretDate.backHours(double hours)
|
JaretDate |
JaretDate.backMinutes(double minutes)
|
JaretDate |
JaretDate.backSeconds(double seconds)
|
JaretDate |
JaretDate.copy()
Produce a new JaretDate with the time of this date. |
JaretDate |
IntervalImpl.getBegin()
Retrieve the begin timestamp of the interval. |
JaretDate |
Interval.getBegin()
Retrieve the begin timestamp of the interval. |
JaretDate |
IntervalImpl.getEnd()
Retrieve the end timestamp of the interval. |
JaretDate |
Interval.getEnd()
Retrieve the end timestamp of the interval. |
static JaretDate |
JaretDate.getFirstDayOfAWeek(int week,
int year)
Retrieve a jaret date for the first day in a given week. |
JaretDate |
JaretDate.setDate(int day,
int month,
int year)
Set the date. |
JaretDate |
JaretDate.setDate(JaretDate date)
Set the date. |
JaretDate |
JaretDate.setTime(int hours,
int minutes,
int seconds)
Set the time. |
JaretDate |
JaretDate.setTime(int hours,
int minutes,
int seconds,
int milliseconds)
Set the time. |
Methods in de.jaret.util.date with parameters of type JaretDate | |
---|---|
int |
JaretDate.compareDateTo(JaretDate date)
Compare the date (day) of this and the given date. |
long |
JaretDate.compareTimeTo(JaretDate date)
Compares only the time of day of the date with the given day. |
int |
JaretDate.compareTo(JaretDate date)
Compare this to another JaretDate. |
boolean |
IntervalImpl.contains(JaretDate date)
Checks whether a given date is contained in the interval. |
boolean |
Interval.contains(JaretDate date)
Checks whether a given date is contained in the interval. |
static boolean |
IntervalImpl.containsNonIncluding(Interval interval,
JaretDate date)
Check whether a given date is contained in the interval not including the exact boundaries. |
static boolean |
IntervalImpl.containsStatic(Interval interval,
JaretDate date)
Static helper, check whether a dat eis included in an interval. |
long |
JaretDate.diffMilliSeconds(JaretDate date)
Substracts the the given date from this date and returns the difference in milliseconds. |
double |
JaretDate.diffMinutes(JaretDate date)
Substracts the the given date from this date and returns the difference in minutes. |
int |
JaretDate.diffSeconds(JaretDate date)
Substracts the the given date from this date and returns the difference in seconds (long). |
long |
JaretDate.diffSecondsL(JaretDate date)
Substracts the the given date from this date and returns the difference in seconds. |
String |
JaretDateFormatter.generateDisplayString(JaretDate date)
Generate a textual representation of the given JaretDate. |
String |
JaretDateFormatter.generateDisplayStringDate(JaretDate date)
Generate a textual representation of the given JaretDate. |
void |
IntervalImpl.setBegin(JaretDate begin)
Set the begin timestamp of the interval. |
void |
Interval.setBegin(JaretDate begin)
Set the begin timestamp of the interval. |
void |
Event.setBegin(JaretDate begin)
|
JaretDate |
JaretDate.setDate(JaretDate date)
Set the date. |
void |
IntervalImpl.setEnd(JaretDate end)
Set the end timestamp of the interval. |
void |
Interval.setEnd(JaretDate end)
Set the end timestamp of the interval. |
void |
Event.setEnd(JaretDate end)
Set the end timestamp of the interval. |
String |
JaretDateFormatter.toDisplayStringTime(JaretDate date,
boolean seconds)
Generates a textual representation of the time only. |
static int |
DateUtils.workingDays(JaretDate from,
JaretDate to,
HolidayEnumerator he)
Count the working days between from and to. |
Constructors in de.jaret.util.date with parameters of type JaretDate | |
---|---|
Event(JaretDate date)
|
|
IntervalImpl(JaretDate from,
JaretDate to)
Construct a date with begin and end. |
|
JaretDate(JaretDate jdate)
Constructs a new JaretDate object with the same time as the given jaretDate. |
Uses of JaretDate in de.jaret.util.date.iterator |
---|
Fields in de.jaret.util.date.iterator declared as JaretDate | |
---|---|
protected JaretDate |
AbstractDateIterator._currentDate
the current date. |
protected JaretDate |
AbstractDateIterator._endDate
the last date. |
Methods in de.jaret.util.date.iterator that return JaretDate | |
---|---|
protected JaretDate |
YearIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
WeekIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
SecondIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
MonthIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
MinuteIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
MillisecondIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
HourIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
DayIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected abstract JaretDate |
AbstractDateIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
JaretDate |
DateIterator.getNextDate()
Retrieve the next date from the iterator. |
JaretDate |
AbstractDateIterator.getNextDate()
Retrieve the next date from the iterator. |
JaretDate |
DateIterator.previewNextDate()
Retrieve the next date without modifying the iterator. |
JaretDate |
AbstractDateIterator.previewNextDate()
Retrieve the next date without modifying the iterator. |
Methods in de.jaret.util.date.iterator with parameters of type JaretDate | |
---|---|
protected void |
YearIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected void |
WeekIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected void |
SecondIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected void |
MonthIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected void |
MinuteIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected void |
MillisecondIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected void |
HourIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected void |
DayIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected abstract void |
AbstractDateIterator.advanceDate(JaretDate date)
Advance the given date by the amount necessary. |
protected JaretDate |
YearIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
WeekIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
SecondIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
MonthIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
MinuteIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
MillisecondIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
HourIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected JaretDate |
DayIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
protected abstract JaretDate |
AbstractDateIterator.correctStartDate(JaretDate date)
Correct the given date to a clean starting position. |
String |
IIteratorFormatter.getLabel(JaretDate date,
DateIterator.Format format)
Provide a formatted output for a given date. |
String |
DateIterator.getLabel(JaretDate date,
DateIterator.Format format)
Retrieve a label for a given date. |
String |
AbstractDateIterator.getLabel(JaretDate date,
DateIterator.Format format)
Retrieve a label for a given date. |
void |
DateIterator.reInitialize(JaretDate startDate,
JaretDate endDate)
(re)initialize the iterator with a start and an end date. |
void |
AbstractDateIterator.reInitialize(JaretDate startDate,
JaretDate endDate)
(re)initialize the iterator with a start and an end date. |
Constructors in de.jaret.util.date.iterator with parameters of type JaretDate | |
---|---|
AbstractDateIterator(JaretDate startDate,
JaretDate endDate)
Constructor supplying values. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |