Package lumis.util.datetime
Class DateTimeUtils
- java.lang.Object
-
- lumis.util.datetime.DateTimeUtils
-
public final class DateTimeUtils extends java.lang.Object
Date time utilities.- Since:
- 16.0.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Calendar
toMidnight(java.util.Date date)
Returns a calendar equivalent to the given date object but zeroing hour, minute, second and millisecond fields.
-
-
-
Method Detail
-
toMidnight
public static java.util.Calendar toMidnight(java.util.Date date)
Returns a calendar equivalent to the given date object but zeroing hour, minute, second and millisecond fields.- Parameters:
date
- the date- Returns:
- a calendar equivalent to the given date object but zeroing hour, minute, second and millisecond fields.
- Since:
- 16.0.0
-
-