|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.zeus.util.CurrentDateHelper
public final class CurrentDateHelper
Helper methods for current date and time.
Constructor Summary | |
---|---|
CurrentDateHelper()
|
Method Summary | |
---|---|
static java.util.Date |
getCurrentDate()
Gets the current date. |
static long |
getCurrentDateLong()
Gets the current date in long number format. |
static int |
getCurrentDay()
Gets the current day in the month (1...31). |
static int |
getCurrentHour()
Gets the current hour in 24 hours format. |
static int |
getCurrentMinutes()
Gets the current minutes in hour. |
static int |
getCurrentMonth()
Gets the current month, JANUARY = 1,...... |
static int |
getCurrentSeconds()
Gets the current seconds in hour. |
static int |
getCurrentYear()
Gets the current year, e.g. 2004. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrentDateHelper()
Method Detail |
---|
public static java.util.Date getCurrentDate()
java.util.Date
object.public static long getCurrentDateLong()
public static int getCurrentYear()
public static int getCurrentMonth()
public static int getCurrentDay()
public static int getCurrentHour()
public static int getCurrentMinutes()
public static int getCurrentSeconds()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |