Package jmri.util
Class DateUtil
- java.lang.Object
-
- jmri.util.DateUtil
-
public class DateUtil extends java.lang.Object
Common utility methods for working with Calendar and Date objects.
-
-
Constructor Summary
Constructors Constructor Description DateUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.GregorianCalendar
calFromJulianDate(long julianDay)
static long
julianDayFromCalendar(java.util.GregorianCalendar cal)
-
-
-
Constructor Detail
-
DateUtil
public DateUtil()
-
-
Method Detail
-
calFromJulianDate
public static java.util.GregorianCalendar calFromJulianDate(long julianDay)
-
julianDayFromCalendar
public static long julianDayFromCalendar(java.util.GregorianCalendar cal)
-
-