Oops, tiny typo: "time zone ." -> "time zone."
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137576 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4aa1a9cd4c
commit
6e2639fb20
|
@ -68,33 +68,33 @@ import java.util.TimeZone;
|
|||
* @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
|
||||
* @author Stephen Colebourne
|
||||
* @since 2.0
|
||||
* @version $Id: DateFormatUtils.java,v 1.4 2003/08/06 01:44:57 ggregory Exp $
|
||||
* @version $Id: DateFormatUtils.java,v 1.5 2003/08/06 02:48:23 ggregory Exp $
|
||||
*/
|
||||
public class DateFormatUtils {
|
||||
|
||||
/**
|
||||
* ISO8601 formatter for date-time witout time zone .
|
||||
* ISO8601 formatter for date-time witout time zone.
|
||||
* The format used is <tt>yyyy-MM-dd'T'HH:mm:ss</tt>.
|
||||
*/
|
||||
public static final FastDateFormat ISO_DATETIME_FORMAT
|
||||
= FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ss");
|
||||
|
||||
/**
|
||||
* ISO8601 formatter for date-time with time zone .
|
||||
* ISO8601 formatter for date-time with time zone.
|
||||
* The format used is <tt>yyyy-MM-dd'T'HH:mm:ssZZ</tt>.
|
||||
*/
|
||||
public static final FastDateFormat ISO_DATETIME_TIMEZONE_FORMAT
|
||||
= FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ssZZ");
|
||||
|
||||
/**
|
||||
* ISO8601 formatter for date without time zone .
|
||||
* ISO8601 formatter for date without time zone.
|
||||
* The format used is <tt>yyyy-MM-dd</tt>.
|
||||
*/
|
||||
public static final FastDateFormat ISO_DATE_FORMAT
|
||||
= FastDateFormat.getInstance("yyyy-MM-dd");
|
||||
|
||||
/**
|
||||
* ISO8601-like formatter for date with time zone .
|
||||
* ISO8601-like formatter for date with time zone.
|
||||
* The format used is <tt>yyyy-MM-ddZZ</tt>.
|
||||
* This pattern does not comply with the formal ISO8601 specification
|
||||
* as the standard does not allow a time zone without a time.
|
||||
|
@ -103,21 +103,21 @@ public class DateFormatUtils {
|
|||
= FastDateFormat.getInstance("yyyy-MM-ddZZ");
|
||||
|
||||
/**
|
||||
* ISO8601 formatter for time without time zone .
|
||||
* ISO8601 formatter for time without time zone.
|
||||
* The format used is <tt>'T'HH:mm:ss</tt>.
|
||||
*/
|
||||
public static final FastDateFormat ISO_TIME_FORMAT
|
||||
= FastDateFormat.getInstance("'T'HH:mm:ss");
|
||||
|
||||
/**
|
||||
* ISO8601 formatter for time with time zone .
|
||||
* ISO8601 formatter for time with time zone.
|
||||
* The format used is <tt>'T'HH:mm:ssZZ</tt>.
|
||||
*/
|
||||
public static final FastDateFormat ISO_TIME_TIMEZONE_FORMAT
|
||||
= FastDateFormat.getInstance("'T'HH:mm:ssZZ");
|
||||
|
||||
/**
|
||||
* ISO8601-like formatter for time without time zone .
|
||||
* ISO8601-like formatter for time without time zone.
|
||||
* The format used is <tt>HH:mm:ss</tt>.
|
||||
* This pattern does not comply with the formal ISO8601 specification
|
||||
* as the standard requires the 'T' prefix for times.
|
||||
|
@ -126,7 +126,7 @@ public class DateFormatUtils {
|
|||
= FastDateFormat.getInstance("HH:mm:ss");
|
||||
|
||||
/**
|
||||
* ISO8601-like formatter for time with time zone .
|
||||
* ISO8601-like formatter for time with time zone.
|
||||
* The format used is <tt>HH:mm:ssZZ</tt>.
|
||||
* This pattern does not comply with the formal ISO8601 specification
|
||||
* as the standard requires the 'T' prefix for times.
|
||||
|
@ -152,7 +152,7 @@ public class DateFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Format a date/time into a specific pattern using the UTC time zone .</p>
|
||||
* <p>Format a date/time into a specific pattern using the UTC time zone.</p>
|
||||
*
|
||||
* @param millis the date to format expressed in milliseconds
|
||||
* @param pattern the pattern to use to format the date
|
||||
|
@ -163,7 +163,7 @@ public class DateFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Format a date/time into a specific pattern using the UTC time zone .</p>
|
||||
* <p>Format a date/time into a specific pattern using the UTC time zone.</p>
|
||||
*
|
||||
* @param date the date to format
|
||||
* @param pattern the pattern to use to format the date
|
||||
|
@ -174,7 +174,7 @@ public class DateFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Format a date/time into a specific pattern using the UTC time zone .</p>
|
||||
* <p>Format a date/time into a specific pattern using the UTC time zone.</p>
|
||||
*
|
||||
* @param millis the date to format expressed in milliseconds
|
||||
* @param pattern the pattern to use to format the date
|
||||
|
@ -186,7 +186,7 @@ public class DateFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Format a date/time into a specific pattern using the UTC time zone .</p>
|
||||
* <p>Format a date/time into a specific pattern using the UTC time zone.</p>
|
||||
*
|
||||
* @param date the date to format
|
||||
* @param pattern the pattern to use to format the date
|
||||
|
@ -220,7 +220,7 @@ public class DateFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Format a date/time into a specific pattern in a time zone .</p>
|
||||
* <p>Format a date/time into a specific pattern in a time zone.</p>
|
||||
*
|
||||
* @param millis the time expressed in milliseconds
|
||||
* @param pattern the pattern to use to format the date
|
||||
|
@ -232,7 +232,7 @@ public class DateFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Format a date/time into a specific pattern in a time zone .</p>
|
||||
* <p>Format a date/time into a specific pattern in a time zone.</p>
|
||||
*
|
||||
* @param date the date to format
|
||||
* @param pattern the pattern to use to format the date
|
||||
|
|
Loading…
Reference in New Issue