|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.mp4parser.authoring.DateHelper
public class DateHelper
Converts ISO Dates (seconds since 1/1/1904) to Date and vice versa.
Constructor Summary | |
---|---|
DateHelper()
|
Method Summary | |
---|---|
static long |
convert(java.util.Date date)
Converts a date as long to a mac date as long |
static java.util.Date |
convert(long secondsSince)
Converts a long value with seconds since 1/1/1904 to Date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateHelper()
Method Detail |
---|
public static java.util.Date convert(long secondsSince)
secondsSince
- seconds since 1/1/1904
Date
public static long convert(java.util.Date date)
date
- date to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |