Package gov.nih.mipav.model.file
Class MetadataExtractor.DateUtil
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.DateUtil
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.DateUtil extends java.lang.Object- Author:
- Drew Noakes http://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private int[]_daysInMonth365private static longEPOCH_1_JAN_1904The offset (in milliseconds) to add to a MP4 date/time integer value to align with Java's Epoch.
-
Constructor Summary
Constructors Constructor Description DateUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Dateget1Jan1904EpochDate(long seconds)booleanisValidDate(int year, int month, int day)booleanisValidTime(int hours, int minutes, int seconds)
-
-
-
Field Detail
-
_daysInMonth365
private int[] _daysInMonth365
-
EPOCH_1_JAN_1904
private static final long EPOCH_1_JAN_1904
The offset (in milliseconds) to add to a MP4 date/time integer value to align with Java's Epoch.- See Also:
- Constant Field Values
-
-