public class DateUtilities
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Calendar |
CALENDAR
A working calendar.
|
| Modifier | Constructor and Description |
|---|---|
private |
DateUtilities()
Private constructor to prevent object creation.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Date |
createDate(int yyyy,
int month,
int day)
Creates a date.
|
static java.util.Date |
createDate(int yyyy,
int month,
int day,
int hour,
int min)
Creates a date.
|
private DateUtilities()
public static java.util.Date createDate(int yyyy,
int month,
int day)
yyyy - the year.month - the month (1 - 12).day - the day.public static java.util.Date createDate(int yyyy,
int month,
int day,
int hour,
int min)
yyyy - the year.month - the month (1 - 12).day - the day.hour - the hour.min - the minute.