| Package | Description |
|---|---|
| net.anotheria.util | |
| net.anotheria.util.datatable |
| Modifier and Type | Method and Description |
|---|---|
static Date |
Date.currentDate()
Create a Date object for this moment
|
static Date |
DateUtility.getFirstDayOfWeek(int week,
int year)
Returns the date for the first day of a "calendar week" for a given year.
|
static Date |
DateUtility.nextDate(Date d)
put your documentation comment here
|
static Date |
DateUtility.nextWeek(Date d)
Returns the date which lies one week after given date.
|
static Date |
Date.parse(String aDateStrg)
Parse date out from string
|
static Date |
Date.parseLong(String aDateStrg,
char aCh)
Parse date with hors and minutes out from string
|
static Date |
Date.parseShort(String aDateStrg,
char aCh)
Parse date without hors and minutes out from string
|
static Date |
DateUtility.previousDate(Date d)
put your documentation comment here
|
| Modifier and Type | Method and Description |
|---|---|
static String |
DateUtility.dynamicString(Date date)
put your documentation comment here
|
static int |
DateUtility.getAge(Date fromDate)
Returns age - a period of time, measured by years from fromDate till now
|
static int |
DateUtility.getAge(Date fromDate,
Date toDate)
Returns age - a period of time, measured by years from fromDate to toDate
|
static int |
DateUtility.getCalendarWeekForDate(Date date)
Returns the calendar week for this date.
|
static int |
DateUtility.getDays(Date fromDate) |
static int |
DateUtility.getDays(Date fromDate,
Date toDate) |
static boolean |
DateUtility.isAfter(Date d1,
Date d2)
Returns true if the first date is after second date.
|
static boolean |
DateUtility.isAfterNow(Date d) |
static boolean |
DateUtility.isBefore(Date d1,
Date d2)
put your documentation comment here
|
static boolean |
DateUtility.isBeforeNow(Date d) |
static boolean |
DateUtility.isSame(Date d1,
Date d2)
put your documentation comment here
|
static boolean |
DateUtility.isToday(Date date)
Return true if incoming
Date is Today, false otherwise. |
static boolean |
Date.isValid(Date aD1)
Check date
|
static Date |
DateUtility.nextDate(Date d)
put your documentation comment here
|
static Date |
DateUtility.nextWeek(Date d)
Returns the date which lies one week after given date.
|
static Date |
DateUtility.previousDate(Date d)
put your documentation comment here
|
static String |
DateUtility.toDateOnly(Date d)
put your documentation comment here
|
static String |
DateUtility.toDayAndMonthOnly(Date d)
put your documentation comment here
|
static String |
DateUtility.toTimeOnly(Date d)
put your documentation comment here
|
| Modifier and Type | Method and Description |
|---|---|
Date |
DataCell.getValueAsDate() |
Copyright © 2010-2014 anotheria.net. All Rights Reserved.