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[]
_daysInMonth365
private static long
EPOCH_1_JAN_1904
The 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.Date
get1Jan1904EpochDate(long seconds)
boolean
isValidDate(int year, int month, int day)
boolean
isValidTime(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
-
-