/** * <p>Validate/convert a time using the default <code>Locale</code> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @return The parsed <code>Calendar</code> if valid or <code>null</code> * if invalid. */ public Calendar validate(String value) { return (Calendar)parse(value, (String)null, (Locale)null, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified <code>Locale</code> * default <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param locale The locale to use for the time format, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, Locale locale) { return (Calendar)parse(value, (String)null, locale, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified <i>pattern</i> and * default <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param pattern The pattern used to validate the value against. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, String pattern) { return (Calendar)parse(value, pattern, (Locale)null, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified <i>pattern</i> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param pattern The pattern used to validate the value against. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, String pattern, TimeZone timeZone) { return (Calendar)parse(value, pattern, (Locale)null, timeZone); }
/** * <p>Validate/convert a time using the specified specified <code>Locale</code> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param locale The locale to use for the time format, system default if null. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, Locale locale, TimeZone timeZone) { return (Calendar)parse(value, (String)null, locale, timeZone); }
/** * <p>Validate/convert a time using the specified <code>TimeZone</code> * and default <code>Locale</code>. * * @param value The value validation is being performed on. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, TimeZone timeZone) { return (Calendar)parse(value, (String)null, (Locale)null, timeZone); }
/** * <p>Validate/convert a time using the specified pattern and <code>Locale</code> * and the default <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param pattern The pattern used to validate the value against, or the * default for the <code>Locale</code> if <code>null</code>. * @param locale The locale to use for the date format, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, String pattern, Locale locale) { return (Calendar)parse(value, pattern, locale, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified pattern, <code>Locale</code> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param pattern The pattern used to validate the value against, or the * default for the <code>Locale</code> if <code>null</code>. * @param locale The locale to use for the date format, system default if null. * @param timeZone The Time Zone used to parse the date, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, String pattern, Locale locale, TimeZone timeZone) { return (Calendar)parse(value, pattern, locale, timeZone); }
/** * <p>Validate/convert a time using the default <code>Locale</code> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @return The parsed <code>Calendar</code> if valid or <code>null</code> * if invalid. */ public Calendar validate(String value) { return (Calendar)parse(value, (String)null, (Locale)null, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified <code>TimeZone</code> * and default <code>Locale</code>. * * @param value The value validation is being performed on. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, TimeZone timeZone) { return (Calendar)parse(value, (String)null, (Locale)null, timeZone); }
/** * <p>Validate/convert a time using the specified <code>TimeZone</code> * and default <code>Locale</code>. * * @param value The value validation is being performed on. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, TimeZone timeZone) { return (Calendar)parse(value, (String)null, (Locale)null, timeZone); }
/** * <p>Validate/convert a time using the specified <code>Locale</code> * default <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param locale The locale to use for the time format, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, Locale locale) { return (Calendar)parse(value, (String)null, locale, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified specified <code>Locale</code> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param locale The locale to use for the time format, system default if null. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, Locale locale, TimeZone timeZone) { return (Calendar)parse(value, (String)null, locale, timeZone); }
/** * <p>Validate/convert a time using the specified <i>pattern</i> and * default <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param pattern The pattern used to validate the value against. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, String pattern) { return (Calendar)parse(value, pattern, (Locale)null, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified <i>pattern</i> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param pattern The pattern used to validate the value against. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, String pattern, TimeZone timeZone) { return (Calendar)parse(value, pattern, (Locale)null, timeZone); }
/** * <p>Validate/convert a time using the specified <code>Locale</code> * default <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param locale The locale to use for the time format, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, Locale locale) { return (Calendar)parse(value, (String)null, locale, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified specified <code>Locale</code> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param locale The locale to use for the time format, system default if null. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, Locale locale, TimeZone timeZone) { return (Calendar)parse(value, (String)null, locale, timeZone); }
/** * <p>Validate/convert a time using the default <code>Locale</code> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @return The parsed <code>Calendar</code> if valid or <code>null</code> * if invalid. */ public Calendar validate(String value) { return (Calendar)parse(value, (String)null, (Locale)null, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified <i>pattern</i> and * default <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param pattern The pattern used to validate the value against. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, String pattern) { return (Calendar)parse(value, pattern, (Locale)null, (TimeZone)null); }
/** * <p>Validate/convert a time using the specified <i>pattern</i> * and <code>TimeZone</code>. * * @param value The value validation is being performed on. * @param pattern The pattern used to validate the value against. * @param timeZone The Time Zone used to parse the time, system default if null. * @return The parsed <code>Calendar</code> if valid or <code>null</code> if invalid. */ public Calendar validate(String value, String pattern, TimeZone timeZone) { return (Calendar)parse(value, pattern, (Locale)null, timeZone); }