Searched defs:date (Results 1 - 25 of 120) sorted by relevance

12345

/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/util/
H A DSAMLUtils.java75 public String dateToUTCString(Date date) throws ParseException { argument
82 String utcStr = utcDateFormat.format(date, sb,
/forgerock/openam/openam-core/src/main/java/com/sun/identity/log/
H A DLogRecord.java172 * Sets the {@link LogConstants#TIME} for this {@code LogRecord} to the provided date.
174 * @param date The timestamp to use for this log record.
176 public void addTimeLogInfo(Date date) { argument
177 addLogInfo(LogConstants.TIME, formatDate(date));
180 private String formatDate(Date date) { argument
181 return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date);
/forgerock/opendj2/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DScheduleType.java47 * Launch later in a specific date.
80 * Returns a schedule instance that launches the task at a given date.
81 * @param date the Date at which the task must be launched.
82 * @return a schedule instance that launches the task at a given date.
84 public static ScheduleType createLaunchLater(Date date) argument
88 schedule.launchLaterDate = date;
119 * Returns the date on which the task will be launched.
120 * @return the date on which the task will be launched.
195 toString = "Schedule Type: Launch Later at date "+launchLaterDate;
/forgerock/opendj-b2.6/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DScheduleType.java48 * Launch later in a specific date.
81 * Returns a schedule instance that launches the task at a given date.
82 * @param date the Date at which the task must be launched.
83 * @return a schedule instance that launches the task at a given date.
85 public static ScheduleType createLaunchLater(Date date) argument
89 schedule.launchLaterDate = date;
120 * Returns the date on which the task will be launched.
121 * @return the date on which the task will be launched.
196 toString = "Schedule Type: Launch Later at date "+launchLaterDate;
/forgerock/opendj2.6.2/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DScheduleType.java48 * Launch later in a specific date.
81 * Returns a schedule instance that launches the task at a given date.
82 * @param date the Date at which the task must be launched.
83 * @return a schedule instance that launches the task at a given date.
85 public static ScheduleType createLaunchLater(Date date) argument
89 schedule.launchLaterDate = date;
120 * Returns the date on which the task will be launched.
121 * @return the date on which the task will be launched.
196 toString = "Schedule Type: Launch Later at date "+launchLaterDate;
/forgerock/opendj2-hg/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DScheduleType.java47 * Launch later in a specific date.
80 * Returns a schedule instance that launches the task at a given date.
81 * @param date the Date at which the task must be launched.
82 * @return a schedule instance that launches the task at a given date.
84 public static ScheduleType createLaunchLater(Date date) argument
88 schedule.launchLaterDate = date;
119 * Returns the date on which the task will be launched.
120 * @return the date on which the task will be launched.
195 toString = "Schedule Type: Launch Later at date "+launchLaterDate;
/forgerock/opendj2-jel-hg/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DScheduleType.java48 * Launch later in a specific date.
81 * Returns a schedule instance that launches the task at a given date.
82 * @param date the Date at which the task must be launched.
83 * @return a schedule instance that launches the task at a given date.
85 public static ScheduleType createLaunchLater(Date date) argument
89 schedule.launchLaterDate = date;
120 * Returns the date on which the task will be launched.
121 * @return the date on which the task will be launched.
196 toString = "Schedule Type: Launch Later at date "+launchLaterDate;
/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/openam-v13/openam-core/src/main/java/com/sun/identity/monitoring/
H A DMonitoringUtil.java207 * date/time format is "YYYY-MM-DD HH:MM:SS"
217 * @param date
218 * @return the converted date
220 public static Byte[] convertDate(String date) { argument
221 StringTokenizer st = new StringTokenizer(date);
260 debug.error("MonitoringUtil error converting start date/time"
261 + ", date = " + sdate + ", time = " + stime);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/
H A DScheduleType.java39 /** Launch later in a specific date. */
69 * Returns a schedule instance that launches the task at a given date.
70 * @param date the Date at which the task must be launched.
71 * @return a schedule instance that launches the task at a given date.
73 public static ScheduleType createLaunchLater(Date date) argument
77 schedule.launchLaterDate = date;
108 * Returns the date on which the task will be launched.
109 * @return the date on which the task will be launched.
165 return "Schedule Type: Launch Later at date " + launchLaterDate;
/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/openam-v13/openam-core/src/test/java/com/sun/identity/entitlement/
H A DApplicationManagerTest.java116 private SearchFilter creationDateFilter(long date, SearchFilter.Operator filterOperator) { argument
117 return new SearchFilter(CREATION_DATE_SEARCH_ATTRIBUTE, date, filterOperator);
124 private SearchFilter lastModifiedDateFilter(long date, SearchFilter.Operator filterOperator) { argument
125 return new SearchFilter(LAST_MODIFIED_DATE_SEARCH_ATTRIBUTE, date, filterOperator);
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/util/
H A DDateUtil.java120 * @param date
124 public String formatDateTime(DateTime date) { argument
125 return date.withChronology(chrono).toString();
129 * Formats a given date into a timestamp.
131 * @param date
132 * date object to convert
135 public String formatDateTime(Date date) { argument
136 DateTime dt = new DateTime(date, chrono);
184 * Start date
186 * End date
[all...]
/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/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/openam/openam-core/src/main/java/com/sun/identity/monitoring/
H A DMonitoringUtil.java207 * date/time format is "YYYY-MM-DD HH:MM:SS"
217 * @param date
218 * @return the converted date
220 public static Byte[] convertDate(String date) { argument
221 StringTokenizer st = new StringTokenizer(date);
260 debug.error("MonitoringUtil error converting start date/time"
261 + ", date = " + sdate + ", time = " + stime);
/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/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...]
/forgerock/opendj2-jel-hg/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/opendj2-hg/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/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-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/dst/
H A DDSTModifyResponse.java116 "DSTModifyResponse(element): can not parse the date", ex);
176 * @param date time stamp date to be set
178 public void setTimeStamp(java.util.Date date) { argument
179 this.timeStamp = date;
H A DDSTQueryResponse.java146 "DSTQueryResponse(element): can not parse the date", ex);
210 * @param date Date to be set
212 public void setTimeStamp(java.util.Date date) { argument
213 this.dateStamp = date;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/
H A DTimeThread.java69 /** The date for this time thread. */
70 private Date date; field in class:TimeThread.TimeInfo
78 /** The date formatter that will be used to obtain the GMT timestamp. */
87 /** The date formatter that will be used to obtain the local timestamp. */
139 date = calendar.getTime();
140 time = date.getTime();
142 generalizedTime = GeneralizedTimeSyntax.format(date);
143 localTimestamp = localTimestampFormatter.format(date);
144 gmtTimestamp = gmtTimestampFormatter.format(date);
151 userDefinedTimeStrings.put(format.toPattern(), format.format(date));
[all...]

Completed in 294 milliseconds

12345