commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1612038 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java
Date Sun, 20 Jul 2014 06:46:57 GMT
Author: ggregory
Date: Sun Jul 20 06:46:57 2014
New Revision: 1612038

URL: http://svn.apache.org/r1612038
Log:
Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java?rev=1612038&r1=1612037&r2=1612038&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java
Sun Jul 20 06:46:57 2014
@@ -42,28 +42,28 @@ public class DateFormatUtils {
     private static final TimeZone UTC_TIME_ZONE = TimeZone.getTimeZone("GMT");
     /**
      * ISO 8601 formatter for date-time without time zone.
-     * The format used is <tt>yyyy-MM-dd'T'HH:mm:ss</tt>.
+     * The format used is {@code yyyy-MM-dd'T'HH:mm:ss}.
      */
     public static final FastDateFormat ISO_DATETIME_FORMAT
             = FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ss");
 
     /**
      * ISO 8601 formatter for date-time with time zone.
-     * The format used is <tt>yyyy-MM-dd'T'HH:mm:ssZZ</tt>.
+     * The format used is {@code yyyy-MM-dd'T'HH:mm:ssZZ}.
      */
     public static final FastDateFormat ISO_DATETIME_TIME_ZONE_FORMAT
             = FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ssZZ");
 
     /**
      * ISO 8601 formatter for date without time zone.
-     * The format used is <tt>yyyy-MM-dd</tt>.
+     * The format used is {@code yyyy-MM-dd}.
      */
     public static final FastDateFormat ISO_DATE_FORMAT
             = FastDateFormat.getInstance("yyyy-MM-dd");
 
     /**
      * ISO 8601-like formatter for date with time zone.
-     * The format used is <tt>yyyy-MM-ddZZ</tt>.
+     * The format used is {@code yyyy-MM-ddZZ}.
      * This pattern does not comply with the formal ISO 8601 specification
      * as the standard does not allow a time zone  without a time.
      */
@@ -72,21 +72,21 @@ public class DateFormatUtils {
 
     /**
      * ISO 8601 formatter for time without time zone.
-     * The format used is <tt>'T'HH:mm:ss</tt>.
+     * The format used is {@code 'T'HH:mm:ss}.
      */
     public static final FastDateFormat ISO_TIME_FORMAT
             = FastDateFormat.getInstance("'T'HH:mm:ss");
 
     /**
      * ISO 8601 formatter for time with time zone.
-     * The format used is <tt>'T'HH:mm:ssZZ</tt>.
+     * The format used is {@code 'T'HH:mm:ssZZ}.
      */
     public static final FastDateFormat ISO_TIME_TIME_ZONE_FORMAT
             = FastDateFormat.getInstance("'T'HH:mm:ssZZ");
 
     /**
      * ISO 8601-like formatter for time without time zone.
-     * The format used is <tt>HH:mm:ss</tt>.
+     * The format used is {@code HH:mm:ss}.
      * This pattern does not comply with the formal ISO 8601 specification
      * as the standard requires the 'T' prefix for times.
      */
@@ -95,7 +95,7 @@ public class DateFormatUtils {
 
     /**
      * ISO 8601-like formatter for time with time zone.
-     * The format used is <tt>HH:mm:ssZZ</tt>.
+     * The format used is {@code HH:mm:ssZZ}.
      * This pattern does not comply with the formal ISO 8601 specification
      * as the standard requires the 'T' prefix for times.
      */
@@ -104,7 +104,7 @@ public class DateFormatUtils {
 
     /**
      * SMTP (and probably other) date headers.
-     * The format used is <tt>EEE, dd MMM yyyy HH:mm:ss Z</tt> in US locale.
+     * The format used is {@code EEE, dd MMM yyyy HH:mm:ss Z} in US locale.
      */
     public static final FastDateFormat SMTP_DATETIME_FORMAT
             = FastDateFormat.getInstance("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US);



Mime
View raw message