Package com.drew.lang
Class DateUtil
java.lang.Object
com.drew.lang.DateUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static int[]private static final longThe offset (in milliseconds) to add to a MP4 date/time integer value to align with Java's Epoch. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Dateget1Jan1904EpochDate(long seconds) static booleanisValidDate(int year, int month, int day) static booleanisValidTime(int hours, int minutes, int seconds)
-
Field Details
-
_daysInMonth365
private static int[] _daysInMonth365 -
EPOCH_1_JAN_1904
private static final long EPOCH_1_JAN_1904The offset (in milliseconds) to add to a MP4 date/time integer value to align with Java's Epoch.- See Also:
-
-
Constructor Details
-
DateUtil
public DateUtil()
-
-
Method Details
-
isValidDate
public static boolean isValidDate(int year, int month, int day) -
isValidTime
public static boolean isValidTime(int hours, int minutes, int seconds) -
get1Jan1904EpochDate
-