org.eobjects.metamodel.util
Class DateUtils
java.lang.Object
org.eobjects.metamodel.util.DateUtils
public final class DateUtils
- extends Object
Various utility methods pertaining to date handling
- Author:
- Kasper Sørensen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MILLISECONDS_PER_SECOND
public static final long MILLISECONDS_PER_SECOND
- See Also:
- Constant Field Values
MILLISECONDS_PER_MINUTE
public static final long MILLISECONDS_PER_MINUTE
- See Also:
- Constant Field Values
MILLISECONDS_PER_HOUR
public static final long MILLISECONDS_PER_HOUR
- See Also:
- Constant Field Values
MILLISECONDS_PER_DAY
public static final long MILLISECONDS_PER_DAY
- See Also:
- Constant Field Values
get
public static Date get(int year,
Month month,
int dayOfMonth)
get
public static Date get(Date date)
get
public static Date get(Date originalDate,
int daysDiff)
getYear
public static int getYear(Date date)
getMonth
public static Month getMonth(Date date)
getWeekday
public static Weekday getWeekday(Date date)
getDayOfMonth
public static int getDayOfMonth(Date date)
createCalendar
public static Calendar createCalendar()
createDateFormat
public static DateFormat createDateFormat()
createDateFormat
public static DateFormat createDateFormat(String datePattern)
Copyright © 2007-2013. All Rights Reserved.