| Modifier and Type | Method and Description |
|---|---|
static String |
formatToIso8601(Date d)
Formats a
Date into a String in ISO8601 format |
static Date |
parseFromIso8601(String s)
Parses a string in
ISO8601 format to a Date object |
static Date |
parseSecondsFromEpoch(Double d)
Parses a double representing seconds from the epoch to a
Date object |
public static String formatToIso8601(Date d)
Date into a String in ISO8601 formatd - the date to formatToIso8601public static Date parseFromIso8601(String s)
ISO8601 format to a Date objects - the string to parseDateCopyright © 2016 Pivotal Software, Inc.. All rights reserved.