| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.jfree.formula.util.DateUtilpublic class DateUtilextends java.lang.ObjectMethod Summary | |
static Calendar |
|
static java.sql.Date |
|
static Date |
|
static Time |
|
static void |
|
static Date |
|
static Date |
|
static Number |
|
static Date |
|
static Date |
|
static Number |
|
public static java.sql.Date createDate(int year, int month, int day, LocalizationContext context)
public static Date createDateTime(int year, int month, int day, int hour, int minute, int second, LocalizationContext context)
public static Time createTime(int hour, int minute, int second, LocalizationContext context)
public static Date normalizeDate(Date fromDate, Type toType)
Converts aDatevalue according to the requestedTypeto the properDatesubclasses (java.sql.Time,java.sql.Date) if needed. If the requested type is unknown, no conversion takes place and the input date is returned.
- Parameters:
fromDate- The date to convert.toType- The requested type of date.
- Returns:
- The converted date.