Searched refs:strDate (Results 1 - 12 of 12) sorted by relevance

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/common/
H A DDateUtils.java137 * @param strDate
140 * if <code>strDate</code> is in an invalid format.
142 public static Date stringToDate(String strDate) throws ParseException { argument
147 int idxT = strDate.indexOf('T');
152 int idxDiffUTC = strDate.indexOf('-', idxT);
154 idxDiffUTC = strDate.indexOf('+', idxT);
159 diffTime = getDiffTime(strDate, idxDiffUTC);
160 strDate = strDate.substring(0, idxDiffUTC);
163 int idxMilliSec = strDate
190 getDiffTime(String strDate, int idx) argument
223 createDate(String strDate, int[] timeDiff, boolean plusDiff) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/
H A DDateUtils.java137 * @param strDate
140 * if <code>strDate</code> is in an invalid format.
142 public static Date stringToDate(String strDate) throws ParseException { argument
147 int idxT = strDate.indexOf('T');
152 int idxDiffUTC = strDate.indexOf('-', idxT);
154 idxDiffUTC = strDate.indexOf('+', idxT);
159 diffTime = getDiffTime(strDate, idxDiffUTC);
160 strDate = strDate.substring(0, idxDiffUTC);
163 int idxMilliSec = strDate
190 getDiffTime(String strDate, int idx) argument
223 createDate(String strDate, int[] timeDiff, boolean plusDiff) argument
[all...]
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/
H A DDateUtils.java169 * @param strDate String representation of date.
170 * @throws ParseException if <code>strDate</code> is in an invalid format.
172 public static Date stringToDate(String strDate) throws ParseException { argument
177 int idxT = strDate.indexOf('T');
182 int idxDiffUTC = strDate.indexOf('-', idxT);
184 idxDiffUTC = strDate.indexOf('+', idxT);
189 diffTime = getDiffTime(strDate, idxDiffUTC);
190 strDate = strDate.substring(0, idxDiffUTC);
194 char lastChar = strDate
212 getDiffTime(String strDate, int idx) argument
242 createDate( String strDate, int[] timeDiff, boolean plusDiff ) argument
[all...]
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/
H A DDateUtils.java169 * @param strDate String representation of date.
170 * @throws ParseException if <code>strDate</code> is in an invalid format.
172 public static Date stringToDate(String strDate) throws ParseException { argument
177 int idxT = strDate.indexOf('T');
182 int idxDiffUTC = strDate.indexOf('-', idxT);
184 idxDiffUTC = strDate.indexOf('+', idxT);
189 diffTime = getDiffTime(strDate, idxDiffUTC);
190 strDate = strDate.substring(0, idxDiffUTC);
194 char lastChar = strDate
212 getDiffTime(String strDate, int idx) argument
242 createDate( String strDate, int[] timeDiff, boolean plusDiff ) argument
[all...]
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/policy/
H A DPMDefaultTimeConditionEditViewBean.java106 String strDate = (String)val.iterator().next();
107 helper.setDate(this, true, strDate, getModel());
109 String strDate = (String)val.iterator().next();
110 helper.setDate(this, false, strDate, getModel());
H A DTimeConditionHelper.java270 private String formatDate(String strDate) { argument
272 if ((strDate != null) && (strDate.trim().length() > 0)) {
276 Date date = dff.parse(strDate);
289 String strDate,
294 if ((strDate != null) && (strDate.trim().length() > 0)) {
299 Date date = df.parse(strDate);
368 String strDate, AMModel model
378 propModel.setValue((bStart) ? STARTDATE : ENDDATE, formatDate(strDate));
287 getDateTime( ConditionOpViewBeanBase viewBean, String strDate, boolean bStart ) argument
365 setDate( ConditionOpViewBeanBase viewBean, boolean bStart, String strDate, AMModel model ) argument
[all...]
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/policy/
H A DPMDefaultTimeConditionEditViewBean.java106 String strDate = (String)val.iterator().next();
107 helper.setDate(this, true, strDate, getModel());
109 String strDate = (String)val.iterator().next();
110 helper.setDate(this, false, strDate, getModel());
H A DTimeConditionHelper.java270 private String formatDate(String strDate) { argument
272 if ((strDate != null) && (strDate.trim().length() > 0)) {
276 Date date = dff.parse(strDate);
289 String strDate,
294 if ((strDate != null) && (strDate.trim().length() > 0)) {
299 Date date = df.parse(strDate);
368 String strDate, AMModel model
378 propModel.setValue((bStart) ? STARTDATE : ENDDATE, formatDate(strDate));
287 getDateTime( ConditionOpViewBeanBase viewBean, String strDate, boolean bStart ) argument
365 setDate( ConditionOpViewBeanBase viewBean, boolean bStart, String strDate, AMModel model ) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/util/
H A DAMAuthUtils.java417 String strDate = (String) moduleTimeMap.get(authValue);
420 + "date from getAuthInstant = " + strDate);
422 if ((strDate != null) && (strDate.length() != 0)) {
425 dt = DateUtils.stringToDate(strDate);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/util/
H A DAMAuthUtils.java417 String strDate = (String) moduleTimeMap.get(authValue);
420 + "date from getAuthInstant = " + strDate);
422 if ((strDate != null) && (strDate.length() != 0)) {
425 dt = DateUtils.stringToDate(strDate);
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/
H A DAuthenticator.java335 private static boolean isExpired(String strDate) { argument
337 if ((strDate != null) && (strDate.trim().length() > 0)) {
338 Date exprDate = Locale.parseNormalizedDateString(strDate);
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/
H A DAuthenticator.java337 private static boolean isExpired(String strDate) { argument
339 if ((strDate != null) && (strDate.trim().length() > 0)) {
340 Date exprDate = Locale.parseNormalizedDateString(strDate);

Completed in 77 milliseconds