Searched refs:dateFormat (Results 1 - 25 of 164) sorted by relevance

1234567

/forgerock/openidm-v4/openidm-ui/openidm-ui-enduser/src/main/js/config/validators/
H A DSelfServiceValidators.js59 var valueToReplace, date, v = $(input).val(), dateFormat = $(input).parent().find('[name=dateFormat]').val();
64 if(!dateUtil.isDateStringValid(v, dateFormat)) {
65 callback($.t("common.form.validation.wrongDateFormat") + " (" + dateFormat + ")");
68 date = dateUtil.parseDateString(v, dateFormat);
69 valueToReplace = dateUtil.formatDate(date,dateFormat);
70 if (dateUtil.isDateStringValid(valueToReplace, dateFormat)) {
73 callback($.t("common.form.validation.wrongDateFormat") + " (" + dateFormat + ")");
86 var valueToReplace, date, v = $(input).val(), dateFormat = $(input).parent().find('[name=dateFormat]')
[all...]
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/java/com/sun/identity/diagnostic/plugin/services/agent/
H A DAgentBase.java52 SimpleDateFormat dateFormat =
54 dateFormat.setTimeZone(new SimpleTimeZone(0, "GMT"));
56 return dateFormat.format(date);
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/
H A DStdDebugFile.java72 SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss:SSS a zzz");
73 String prefix = debugName + ":" + dateFormat.format(new Date()) + ": " + Thread.currentThread().toString() +
H A DDebugConfigurationFromProperties.java185 SimpleDateFormat dateFormat = new SimpleDateFormat(getDebugSuffix());
188 String initialSuffix = dateFormat.format(cal.getTime());
190 String suffixAfterOneRotation = dateFormat.format(cal.getTime());
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/
H A DStdDebugFile.java74 SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss:SSS a zzz");
75 String prefix = debugName + ":" + dateFormat.format(newDate()) + ": " + Thread.currentThread().toString() +
H A DDebugConfigurationFromProperties.java187 SimpleDateFormat dateFormat = new SimpleDateFormat(getDebugSuffix());
190 String initialSuffix = dateFormat.format(cal.getTime());
192 String suffixAfterOneRotation = dateFormat.format(cal.getTime());
/forgerock/opendj2/src/server/org/opends/server/backends/task/
H A DTask.java235 SimpleDateFormat dateFormat;
238 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
239 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
243 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
248 scheduledStartTime = dateFormat.parse(timeString).getTime();
269 SimpleDateFormat dateFormat;
272 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
273 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
277 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
282 actualStartTime = dateFormat
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/task/
H A DTask.java236 SimpleDateFormat dateFormat;
239 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
240 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
244 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
249 scheduledStartTime = dateFormat.parse(timeString).getTime();
270 SimpleDateFormat dateFormat;
273 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
274 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
278 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
283 actualStartTime = dateFormat
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/task/
H A DTask.java236 SimpleDateFormat dateFormat;
239 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
240 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
244 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
249 scheduledStartTime = dateFormat.parse(timeString).getTime();
270 SimpleDateFormat dateFormat;
273 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
274 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
278 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
283 actualStartTime = dateFormat
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/backends/task/
H A DTask.java235 SimpleDateFormat dateFormat;
238 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
239 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
243 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
248 scheduledStartTime = dateFormat.parse(timeString).getTime();
269 SimpleDateFormat dateFormat;
272 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
273 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
277 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
282 actualStartTime = dateFormat
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/backends/task/
H A DTask.java236 SimpleDateFormat dateFormat;
239 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
240 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
244 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
249 scheduledStartTime = dateFormat.parse(timeString).getTime();
270 SimpleDateFormat dateFormat;
273 dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
274 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
278 dateFormat = new SimpleDateFormat(DATE_FORMAT_COMPACT_LOCAL_TIME);
283 actualStartTime = dateFormat
[all...]
/forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/
H A DLogHelper.java133 return dateFormat;
139 private static final SimpleDateFormat dateFormat = new SimpleDateFormat( field in class:LogHelper
/forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/
H A DLogHelper.java136 return dateFormat;
142 private static final SimpleDateFormat dateFormat = new SimpleDateFormat( field in class:LogHelper
/forgerock/openam-v13/openam-shared/src/test/java/com/sun/identity/shared/debug/
H A DDebugRotationTest.java36 private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd G 'at' HH:mm:ss z"); field in class:DebugRotationTest
86 System.out.println("Test rotation for date : '" + dateFormat.format(calRandomDate.getTime()) + "'");
104 System.out.println("Test rotation for date : '" + dateFormat.format(calDSTMarch.getTime()) + "'");
122 System.out.println("Test rotation for date : '" + dateFormat.format(calDSTOctober.getTime()) + "'");
137 SimpleDateFormat dateFormat = new SimpleDateFormat("-MM.dd.yyyy-HH.mm");
211 if (isFileExist(debugNameFile + dateFormat.format(fakeDate.getTime()))) {
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/
H A DRecordReport.java44 private final static SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss:SSS a zzz"); field in class:RecordReport
97 synchronized (dateFormat) {
98 report.put(DATE_LABEL, dateFormat.format(new Date()));
124 return dateFormat.parse(globalInfo.get(DATE_LABEL).required().asString());
211 report.append(dateFormat.format(entry.getKey())).append(" -> ").append(entry.getValue()).append("\n");
220 report.append("DATE : ").append(dateFormat.format(new Date())).append("\n");
/forgerock/openam/openam-shared/src/test/java/com/sun/identity/shared/debug/
H A DDebugRotationTest.java37 private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd G 'at' HH:mm:ss z"); field in class:DebugRotationTest
87 System.out.println("Test rotation for date : '" + dateFormat.format(calRandomDate.getTime()) + "'");
105 System.out.println("Test rotation for date : '" + dateFormat.format(calDSTMarch.getTime()) + "'");
123 System.out.println("Test rotation for date : '" + dateFormat.format(calDSTOctober.getTime()) + "'");
138 SimpleDateFormat dateFormat = new SimpleDateFormat("-MM.dd.yyyy-HH.mm");
212 if (isFileExist(debugNameFile + dateFormat.format(fakeDate.getTime()))) {
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/
H A DRecordReport.java46 private final static SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss:SSS a zzz"); field in class:RecordReport
99 synchronized (dateFormat) {
100 report.put(DATE_LABEL, dateFormat.format(newDate()));
126 return dateFormat.parse(globalInfo.get(DATE_LABEL).required().asString());
213 report.append(dateFormat.format(entry.getKey())).append(" -> ").append(entry.getValue()).append("\n");
222 report.append("DATE : ").append(dateFormat.format(newDate())).append("\n");
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/notifications/
H A DNotificationLayout.java42 private java.text.DateFormat dateFormat; field in class:NotificationLayout
77 dateFormat = DateFormat.getMediumDateFormat(context);
156 return dateFormat.format(notificationTime.getMillis());
/forgerock/openidm-v4/openidm-ui/openidm-ui-common/src/main/js/org/forgerock/openidm/ui/common/util/
H A DFormGenerationUtils.js108 obj.generateDateTypeField = function(elementName, elementDisplayName, value, isReadable, isWritable, isRequired, dateFormat) {
121 value = "{{date " + value.substring(2).slice(-2) + " '" + dateFormat + "'}}";
124 dateFormatInput = this.generateInput("dateFormat", dateFormat, false, false, false);
237 var param, typeName, paramValue, dateFormat, date;
245 dateFormat = propertyTypeMapping[param].datePattern;
246 date = dateUtil.parseDateString(paramValue, dateFormat);
/forgerock/opendj-b2.6/src/server/org/opends/server/types/
H A DBackupInfo.java432 SimpleDateFormat dateFormat =
435 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
439 dateFormat.format(backupDate));
554 SimpleDateFormat dateFormat =
556 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
557 backupDate = dateFormat.parse(value);
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/backends/task/
H A DTaskBackendTestCase.java112 SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
113 dateFormat.setTimeZone(TimeZone.getTimeZone(TIME_ZONE_UTC));
114 String startTimeStr = dateFormat.format(new Date(startTime));
246 SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
247 dateFormat.setTimeZone(TimeZone.getTimeZone(TIME_ZONE_UTC));
248 String startTimeStr = dateFormat.format(new Date(startTime));
/forgerock/opendj2/src/server/org/opends/server/types/
H A DBackupInfo.java431 SimpleDateFormat dateFormat =
434 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
438 dateFormat.format(backupDate));
553 SimpleDateFormat dateFormat =
555 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
556 backupDate = dateFormat.parse(value);
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/backends/task/
H A DTaskBackendTestCase.java108 SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
109 dateFormat.setTimeZone(TimeZone.getTimeZone(TIME_ZONE_UTC));
110 String startTimeStr = dateFormat.format(new Date(startTime));
242 SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
243 dateFormat.setTimeZone(TimeZone.getTimeZone(TIME_ZONE_UTC));
244 String startTimeStr = dateFormat.format(new Date(startTime));
/forgerock/opendj2.6.2/src/server/org/opends/server/types/
H A DBackupInfo.java432 SimpleDateFormat dateFormat =
435 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
439 dateFormat.format(backupDate));
554 SimpleDateFormat dateFormat =
556 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
557 backupDate = dateFormat.parse(value);
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/backends/task/
H A DTaskBackendTestCase.java112 SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
113 dateFormat.setTimeZone(TimeZone.getTimeZone(TIME_ZONE_UTC));
114 String startTimeStr = dateFormat.format(new Date(startTime));
246 SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
247 dateFormat.setTimeZone(TimeZone.getTimeZone(TIME_ZONE_UTC));
248 String startTimeStr = dateFormat.format(new Date(startTime));

Completed in 376 milliseconds

1234567