| | |
| | | SimpleDateFormat dateFormat; |
| | | if (timeString.endsWith("Z")) |
| | | { |
| | | dateFormat = new SimpleDateFormat(DATE_FORMAT_UTC_TIME); |
| | | dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME); |
| | | dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); |
| | | } |
| | | else |
| | |
| | | SimpleDateFormat dateFormat; |
| | | if (timeString.endsWith("Z")) |
| | | { |
| | | dateFormat = new SimpleDateFormat(DATE_FORMAT_UTC_TIME); |
| | | dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME); |
| | | dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); |
| | | } |
| | | else |
| | |
| | | SimpleDateFormat dateFormat; |
| | | if (timeString.endsWith("Z")) |
| | | { |
| | | dateFormat = new SimpleDateFormat(DATE_FORMAT_UTC_TIME); |
| | | dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME); |
| | | dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); |
| | | } |
| | | else |
| | |
| | | ATTR_TASK_ACTUAL_START_TIME); |
| | | } |
| | | |
| | | SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_UTC_TIME); |
| | | SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME); |
| | | dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); |
| | | Date d = new Date(actualStartTime); |
| | | ASN1OctetString s = new ASN1OctetString(dateFormat.format(d)); |
| | |
| | | DirectoryServer.getDefaultAttributeType(ATTR_TASK_COMPLETION_TIME); |
| | | } |
| | | |
| | | SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_UTC_TIME); |
| | | SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME); |
| | | dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); |
| | | Date d = new Date(completionTime); |
| | | ASN1OctetString s = new ASN1OctetString(dateFormat.format(d)); |