/** * Parse date from ISO formatted string. * The ISO8601 date must include TimeZone offset information * * @param isoDate ISO string to parse * @return the date * @throws AlfrescoRuntimeException if the parse failed */ public static Date parse(String isoDate) { return parseInternal(isoDate, null); }
/** * Parse date from ISO formatted string, with an * explicit timezone specified * * @param isoDate ISO string to parse * @param timezone The TimeZone the date is in * @return the date * @throws AlfrescoRuntimeException if the parse failed */ public static Date parse(String isoDate, TimeZone timezone) { return parseInternal(isoDate, timezone); }
/** * Parse date from ISO formatted string, with an * explicit timezone specified * * @param isoDate ISO string to parse * @param timezone The TimeZone the date is in * @return the date * @throws AlfrescoRuntimeException if the parse failed */ public static Date parse(String isoDate, TimeZone timezone) { return parseInternal(isoDate, timezone); }
/** * Parse date from ISO formatted string. * The ISO8601 date must include TimeZone offset information * * @param isoDate ISO string to parse * @return the date * @throws AlfrescoRuntimeException if the parse failed */ public static Date parse(String isoDate) { return parseInternal(isoDate, null); }