Searched refs:date (Results 1 - 25 of 358) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/log/spi/
H A DSecureTimestampGenerator.java58 Date date = new Date();
59 return sdf.format(date);
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/usecase/script/
H A DonStoreManagedUser.js11 function toISOString(date) {
12 return date.getUTCFullYear()
13 + '-' + pad( date.getUTCMonth() + 1 )
14 + '-' + pad( date.getUTCDate() )
15 + 'T' + pad( date.getUTCHours() )
16 + ':' + pad( date.getUTCMinutes() )
17 + ':' + pad( date.getUTCSeconds() )
18 + '.' + String( (date.getUTCMilliseconds()/1000).toFixed(3) ).slice( 2, 5 )
H A DgetUserManager.js12 offset = 0, date = new Date(d[1], 0, 1), time;
15 date.setMonth(d[3] - 1);
18 date.setDate(d[5]);
21 date.setHours(d[7]);
24 date.setMinutes(d[8]);
27 date.setSeconds(d[10]);
30 date.setMilliseconds(Number("0." + d[12]) * 1000);
37 offset -= date.getTimezoneOffset();
38 time = (Number(date) + (offset * 60 * 1000));
/forgerock/openam/openam-core/src/main/java/com/sun/identity/log/spi/
H A DSecureTimestampGenerator.java57 Date date = newDate();
58 return sdf.format(date);
/forgerock/openidm-v4/openidm-ui/openidm-ui-enduser/src/main/js/config/validators/
H A DSelfServiceValidators.js54 "name": "Not empty, formatted date",
59 var valueToReplace, date, v = $(input).val(), dateFormat = $(input).parent().find('[name=dateFormat]').val();
68 date = dateUtil.parseDateString(v, dateFormat);
69 valueToReplace = dateUtil.formatDate(date,dateFormat);
81 "name": "Not empty, formatted date",
86 var valueToReplace, date, v = $(input).val(), dateFormat = $(input).parent().find('[name=dateFormat]').val();
92 date = dateUtil.parseDateString(v, dateFormat);
93 valueToReplace = dateUtil.formatDate(date,dateFormat);
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/java/com/sun/identity/diagnostic/plugin/services/agent/
H A DAgentBase.java55 Date date = new Date();
56 return dateFormat.format(date);
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/views/realms/authorization/policies/conditions/
H A DConditionAttrDateView.js55 endDate.data("DateTimePicker").minDate(e.date);
59 startDate.data("DateTimePicker").maxDate(e.date);
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/views/realms/authorization/policies/conditions/
H A DConditionAttrDateView.js55 endDate.data("DateTimePicker").minDate(e.date);
59 startDate.data("DateTimePicker").maxDate(e.date);
/forgerock/openam-v13/src/main/jenkins/
H A Dprepare_downloads.sh8 "$WORKSPACE"/openam-server/target/openam-server-${OPENAM_VERSION}_`date "+%Y%m%d"`.war
11 openam-distribution/openam-distribution-ssoadmintools/target/openam-distribution-ssoAdminTools-${OPENAM_VERSION}_`date "+%Y%m%d"`.zip
14 openam-distribution/openam-distribution-ssoconfiguratortools/target/openam-distribution-ssoconfiguratortools-${OPENAM_VERSION}_`date "+%Y%m%d"`.zip
17 openam-distribution/openam-distribution-kit/target/openam-distribution-kit-${OPENAM_VERSION}_nightly_`date "+%Y%m%d"`.zip.sha
20 openam-distribution/openam-distribution-kit/target/openam-distribution-kit-${OPENAM_VERSION}_nightly_`date "+%Y%m%d"`.zip
/forgerock/openam/src/main/jenkins/
H A Dprepare_downloads.sh8 "$WORKSPACE"/openam-server/target/openam-server-${OPENAM_VERSION}_`date "+%Y%m%d"`.war
11 openam-distribution/openam-distribution-ssoadmintools/target/openam-distribution-ssoAdminTools-${OPENAM_VERSION}_`date "+%Y%m%d"`.zip
14 openam-distribution/openam-distribution-ssoconfiguratortools/target/openam-distribution-ssoconfiguratortools-${OPENAM_VERSION}_`date "+%Y%m%d"`.zip
17 openam-distribution/openam-distribution-kit/target/openam-distribution-kit-${OPENAM_VERSION}_nightly_`date "+%Y%m%d"`.zip.sha
20 openam-distribution/openam-distribution-kit/target/openam-distribution-kit-${OPENAM_VERSION}_nightly_`date "+%Y%m%d"`.zip
/forgerock/openam-v13/openam-shared/src/test/java/com/sun/identity/shared/
H A DDateUtilsTest.java44 Date date = DateUtils.stringToDate(testDate);
45 assertThat(date).isEqualTo(utcDate(2015, 5, 12, 20, 23, 26, 480));
51 Date date = DateUtils.stringToDate(testDate);
52 assertThat(date).isEqualTo(utcDate(2015, 5, 12, 20, 23, 26, 480));
58 Date date = DateUtils.stringToDate(testDate);
59 assertThat(date).isEqualTo(utcDate(2015, 5, 12, 20, 23, 26, 480));
65 Date date = DateUtils.stringToDate(testDate);
66 assertThat(date).isEqualTo(utcDate(2015, 5, 12, 20, 23, 26, 400));
72 Date date = DateUtils.stringToDate(testDate);
73 assertThat(date)
167 utcDate(int year, int month, int date, int hours, int minutes, int seconds, int milliseconds) argument
[all...]
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/adapters/
H A DOAuthValuesTest.java34 String date = "1370259234252";
38 Calendar calendar = values.getDateValue(Arrays.asList(date));
43 assertThat(result, hasItem(date));
/forgerock/openam/openam-shared/src/test/java/com/sun/identity/shared/
H A DDateUtilsTest.java44 Date date = DateUtils.stringToDate(testDate);
45 assertThat(date).isEqualTo(utcDate(2015, 5, 12, 20, 23, 26, 480));
51 Date date = DateUtils.stringToDate(testDate);
52 assertThat(date).isEqualTo(utcDate(2015, 5, 12, 20, 23, 26, 480));
58 Date date = DateUtils.stringToDate(testDate);
59 assertThat(date).isEqualTo(utcDate(2015, 5, 12, 20, 23, 26, 480));
65 Date date = DateUtils.stringToDate(testDate);
66 assertThat(date).isEqualTo(utcDate(2015, 5, 12, 20, 23, 26, 400));
72 Date date = DateUtils.stringToDate(testDate);
73 assertThat(date)
167 utcDate(int year, int month, int date, int hours, int minutes, int seconds, int milliseconds) argument
[all...]
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/adapters/
H A DOAuthValuesTest.java33 String date = "1370259234252";
37 Calendar calendar = values.getDateValue(Arrays.asList(date));
42 assertThat(result).contains(date);
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/
H A DDateUtils.java41 * This class provides utility to perform date conversion.
53 * date.
55 * @param date Date object.
56 * @return The formatted date.
58 public static String dateToString(final Date date) { argument
59 return dateToString(date, UTC_DATE_FORMAT, UTC_TIME_ZONE);
63 * Returns UTC String representation of a date. For instance,
66 * @param date Date object.
67 * @return The formatted date.
69 public static String toUTCDateFormat(final Date date) { argument
80 toUTCDateFormatWithMilliseconds(final Date date) argument
91 toFullLocalDateFormat(final Date date) argument
95 dateToString(Date date, String format, TimeZone tz) argument
[all...]
/forgerock/openidm-v4/openidm-ui/openidm-ui-common/src/main/js/org/forgerock/openidm/ui/common/dashboard/widgets/
H A DReconProcessesWidget.js102 var date;
105 date = new Date (Date.now());
106 widgetData.timestamp = date.getHours() +":" +date.getMinutes() +":" +date.getSeconds();
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/
H A DDateUtils.java41 * This class provides utility to perform date conversion.
53 * date.
55 * @param date Date object.
56 * @return The formatted date.
58 public static String dateToString(final Date date) { argument
59 return dateToString(date, UTC_DATE_FORMAT, UTC_TIME_ZONE);
63 * Returns UTC String representation of a date. For instance,
66 * @param date Date object.
67 * @return The formatted date.
69 public static String toUTCDateFormat(final Date date) { argument
80 toUTCDateFormatWithMilliseconds(final Date date) argument
91 toFullLocalDateFormat(final Date date) argument
95 dateToString(Date date, String format, TimeZone tz) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/common/
H A DDateUtils.java39 * This class provides utility to perform date conversion.
54 * date.
56 * @param date
59 public static String dateToString(Date date) { argument
60 return dateToString(date, UTC_DATE_FORMAT);
64 * Returns UTC String representation of a date. For instance,
67 * @param date
70 public static String toUTCDateFormat(Date date) { argument
71 return dateToString(date, UTC_DATE_Z_FORMAT);
74 private static String dateToString(Date date, Strin argument
[all...]
/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A DFRADateUtils.m22 NSDate *currentTime = [NSDate date];
57 - (NSDate *)midnightOfDate:(NSDate *)date {
60 NSDateComponents *components = [calendar components:preservedComponents fromDate:date];
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/
H A DDateUtils.java39 * This class provides utility to perform date conversion.
54 * date.
56 * @param date
59 public static String dateToString(Date date) { argument
60 return dateToString(date, UTC_DATE_FORMAT);
64 * Returns UTC String representation of a date. For instance,
67 * @param date
70 public static String toUTCDateFormat(Date date) { argument
71 return dateToString(date, UTC_DATE_Z_FORMAT);
74 private static String dateToString(Date date, Strin argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/util/
H A DTimeThread.java77 // The date for this time thread.
78 private Date date; field in class:TimeThread.TimeInfo
87 // The date formatter that will be used to obtain the GMT
97 // The date formatter that will be used to obtain the local
148 date = calendar.getTime();
149 time = date.getTime();
151 generalizedTime = GeneralizedTimeSyntax.format(date);
152 localTimestamp = localTimestampFormatter.format(date);
153 gmtTimestamp = gmtTimestampFormatter.format(date);
161 .format(date));
[all...]
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/schema/
H A DUTCTimeSyntaxTest.java207 Date date = cal.getTime();
208 String createdString = UTCTimeSyntax.createUTCTimeValue(date).toString();
232 Date date = cal.getTime();
233 String createdString = UTCTimeSyntax.createUTCTimeValue(date).toString();
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/schema/
H A DUTCTimeSyntaxTest.java206 Date date = cal.getTime();
207 String createdString = UTCTimeSyntax.createUTCTimeValue(date).toString();
231 Date date = cal.getTime();
232 String createdString = UTCTimeSyntax.createUTCTimeValue(date).toString();
/forgerock/opendj2/src/server/org/opends/server/util/
H A DTimeThread.java72 /** The date for this time thread. */
73 private Date date; field in class:TimeThread.TimeInfo
81 /** The date formatter that will be used to obtain the GMT timestamp. */
90 /** The date formatter that will be used to obtain the local timestamp. */
145 date = calendar.getTime();
146 time = date.getTime();
148 generalizedTime = GeneralizedTimeSyntax.format(date);
149 localTimestamp = localTimestampFormatter.format(date);
150 gmtTimestamp = gmtTimestampFormatter.format(date);
157 userDefinedTimeStrings.put(format.toPattern(), format.format(date));
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/util/
H A DTimeThread.java77 // The date for this time thread.
78 private Date date; field in class:TimeThread.TimeInfo
87 // The date formatter that will be used to obtain the GMT
97 // The date formatter that will be used to obtain the local
148 date = calendar.getTime();
149 time = date.getTime();
151 generalizedTime = GeneralizedTimeSyntax.format(date);
152 localTimestamp = localTimestampFormatter.format(date);
153 gmtTimestamp = gmtTimestampFormatter.format(date);
161 .format(date));
[all...]

Completed in 102 milliseconds

1234567891011>>