net.sf.samtools.util
Class Iso8601Date
java.lang.Object
java.util.Date
net.sf.samtools.util.Iso8601Date
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Date>
public class Iso8601Date
- extends Date
Use this type rather than java.util.Date in command-line options in order to get ISO 8601 parsing.
The ctors below truncate milliseconds, since our formatter does not write them. Note that it is possible
to modify an Iso8601Date so that it has fractional seconds, but that is discouraged.
- Author:
- alecw@broadinstitute.org
- See Also:
- Serialized Form
| Methods inherited from class java.util.Date |
after, before, clone, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, UTC |
Iso8601Date
public Iso8601Date(String dateStr)
Iso8601Date
public Iso8601Date(Date date)
toString
public String toString()
- Overrides:
toString in class Date