|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Date | |
|---|---|
| org.jcoderz.commons.logging | |
| org.jcoderz.commons.types | This package contains common type classes that can be used by any jCoderz Java project. |
| org.jcoderz.commons.types.samples | |
| org.jcoderz.commons.util | |
| org.jcoderz.phoenix.report.jaxb | |
| org.jcoderz.phoenix.report.jaxb.impl | |
| Uses of Date in org.jcoderz.commons.logging |
|---|
| Methods in org.jcoderz.commons.logging that return Date | |
|---|---|
Date |
LogItem.getTimestamp()
Gets the timestamp of when this was logged. |
protected Date |
BasicLogLineFormat.getTimestamp()
Gets the timestamp of a parsed log line. |
| Methods in org.jcoderz.commons.logging with parameters of type Date | |
|---|---|
void |
LogItem.setTimestamp(Date timestamp)
Sets the timestamp of the message. |
protected void |
BasicLogLineFormat.setTimestamp(Date timestamp)
Sets the timestamp. |
| Uses of Date in org.jcoderz.commons.types |
|---|
| Fields in org.jcoderz.commons.types declared as Date | |
|---|---|
static Date |
Date.FUTURE_DATE
This date represents the largest possible date (9999 * 365 * 24 * 60 * 60 * 1000). |
static Date |
Date.OLD_DATE
This date represents the 1.1.1970 00:00:00.000. |
| Methods in org.jcoderz.commons.types that return Date | |
|---|---|
static Date |
Date.earliest(Date a,
Date b)
Returns the earliest of the two dates. |
static Date |
Date.fromLong(long time)
Creates a new instance of Date taking the given long as ms from 1.1.1970. |
static Date |
Date.fromSqlDate(Date date)
Creates a new instance of Date holding the value as found in the given java.sql.Date. |
static Date |
Date.fromSqlTimestamp(Timestamp timestamp)
Creates a new instance of Date holding the value as found in the given java.sql.Timestamp. |
static Date |
Date.fromString(String date)
Parses the given String as returned by the toString method. |
static Date |
Date.fromString(String date,
String pattern)
Parses the given String with the given format pattern. |
static Date |
Date.fromUtilDate(Date date)
Creates a new instance of Date from a java.util.Date Object. |
Date |
Period.getEndTime()
Returns the end date of the period. |
Date |
Period.getNextPeriodStartTime()
Returns the start time for the next period. |
Date |
Period.getPrevPeriodEndTime()
Returns the end time of the previous period. |
Date |
Period.getStartTime()
Returns the start date of the period. |
static Date |
Date.latest(Date a,
Date b)
Returns the latest of the two dates. |
Date |
Date.minus(long offset)
Returns a Date object that holds the time of this object minus the given milliseconds in the past. |
static Date |
Date.now()
Returns a Date object that holds the current time. |
static Date |
Date.nowPlus(long offset)
Returns a Date object that holds the current time plus the given milliseconds in the future. |
Date |
Date.plus(long offset)
Returns a Date object that holds the time of this object plus the given milliseconds in the future. |
Date |
YearMonth.toEndDate()
Returns the valid date that represents the end of the month year type. |
Date |
YearMonth.toStartDate()
Returns the valid date that represents the beginning of the month year type. |
| Methods in org.jcoderz.commons.types with parameters of type Date | |
|---|---|
boolean |
Date.after(Date other)
Checks if this date is after the given date. |
boolean |
Date.afterOrEqual(Date other)
Checks if this date is after or equal to the given date. |
boolean |
Date.before(Date other)
Checks if the this date is before the given date. |
boolean |
Date.beforeOrEqual(Date other)
Checks if the this date is before or equal to the given date. |
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. |
static Date |
Date.earliest(Date a,
Date b)
Returns the earliest of the two dates. |
long |
Date.elapsedMillis(Date other)
Returns the elapsed number of milliseconds from this date to other. |
static int |
Date.getDaysSinceEpoch(Date d)
Returns the number of days between Unix Epoch (1970/01/01) and d. |
boolean |
Period.isIncluded(Date date)
Checks whether a specified date falls into the period defined by the instance. |
boolean |
YearMonth.isWithin(Date date)
Returns true if the given date is within this year/month. |
static Date |
Date.latest(Date a,
Date b)
Returns the latest of the two dates. |
static Period |
Period.nextDay(Date date)
Returns the day period, that lies after the given date. |
static Period |
Period.nextHour(Date date)
Returns the next clock hour period, that lies after the given date. |
static Period |
Period.nextMonth(Date date)
Returns the month period, that lies after the given date. |
static Period |
Period.previousDay(Date date)
Returns the day period, that lies before the given date. |
static Period |
Period.previousHour(Date date)
Returns the previous clock hour period, that lies befor the given date. |
static Period |
Period.previousMonth(Date date)
Returns the month period, that lies before the given date. |
| Uses of Date in org.jcoderz.commons.types.samples |
|---|
| Methods in org.jcoderz.commons.types.samples that return Date | |
|---|---|
Date |
FooValueObject.getCreationDate()
Returns the creation date of Buz. |
Date |
BarValueObject.getCreationDate()
Returns the creation date of Buz. |
| Methods in org.jcoderz.commons.types.samples with parameters of type Date | |
|---|---|
void |
FooValueObject.setCreationDate(Date aCreationDate)
Sets the creation date of Buz. |
| Constructors in org.jcoderz.commons.types.samples with parameters of type Date | |
|---|---|
BarValueObject(Date aCreationDate)
Constructs a BarValueObject with the minimum arguments. |
|
BarValueObject(long aId,
Date aCreationDate)
Constructs a BarValueObject with all arguments. |
|
FooValueObject(long aId,
Date aCreationDate)
Constructs a FooValueObject with all arguments. |
|
| Uses of Date in org.jcoderz.commons.util |
|---|
| Methods in org.jcoderz.commons.util that return Date | |
|---|---|
static Date |
XsdUtil.fromDateString(String date)
Parses the given String as schema date representation and returns a Date object holding the given time. |
static Date |
XsdUtil.fromDateTimeString(String date)
Parses the given String as schema date time representation and returns a Date object holding the given time. |
| Uses of Date in org.jcoderz.phoenix.report.jaxb |
|---|
| Methods in org.jcoderz.phoenix.report.jaxb that return Date | |
|---|---|
Date |
ItemType.getSince()
Gets the value of the since property. |
| Methods in org.jcoderz.phoenix.report.jaxb with parameters of type Date | |
|---|---|
void |
ItemType.setSince(Date value)
Sets the value of the since property. |
| Uses of Date in org.jcoderz.phoenix.report.jaxb.impl |
|---|
| Fields in org.jcoderz.phoenix.report.jaxb.impl declared as Date | |
|---|---|
protected Date |
ItemTypeImpl._Since
|
| Methods in org.jcoderz.phoenix.report.jaxb.impl that return Date | |
|---|---|
Date |
ItemTypeImpl.getSince()
|
| Methods in org.jcoderz.phoenix.report.jaxb.impl with parameters of type Date | |
|---|---|
void |
ItemTypeImpl.setSince(Date value)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||