Return-Path: X-Original-To: apmail-commons-notifications-archive@minotaur.apache.org Delivered-To: apmail-commons-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C085D17535 for ; Fri, 1 May 2015 20:56:01 +0000 (UTC) Received: (qmail 30547 invoked by uid 500); 1 May 2015 20:56:01 -0000 Delivered-To: apmail-commons-notifications-archive@commons.apache.org Received: (qmail 30510 invoked by uid 500); 1 May 2015 20:56:01 -0000 Mailing-List: contact notifications-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list notifications@commons.apache.org Received: (qmail 29982 invoked by uid 99); 1 May 2015 20:56:01 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2015 20:56:01 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 000A4AC2CA3 for ; Fri, 1 May 2015 20:56:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r949864 [23/48] - in /websites/production/commons/content/proper/commons-lang: ./ apidocs/ apidocs/org/apache/commons/lang3/ apidocs/org/apache/commons/lang3/builder/ apidocs/org/apache/commons/lang3/time/ apidocs/src-html/org/apache/common... Date: Fri, 01 May 2015 20:55:53 -0000 To: notifications@commons.apache.org From: britter@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150501205601.000A4AC2CA3@hades.apache.org> Modified: websites/production/commons/content/proper/commons-lang/cobertura/org.apache.commons.lang3.time.DateFormatUtils.html ============================================================================== --- websites/production/commons/content/proper/commons-lang/cobertura/org.apache.commons.lang3.time.DateFormatUtils.html (original) +++ websites/production/commons/content/proper/commons-lang/cobertura/org.apache.commons.lang3.time.DateFormatUtils.html Fri May 1 20:55:51 2015 @@ -107,534 +107,552 @@  45  
      * The format used is {@code yyyy-MM-dd'T'HH:mm:ss}.
 46   +
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
+  47  
      */
-  47  1
     public static final FastDateFormat ISO_DATETIME_FORMAT
-  48   -
             = FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ss");
+  48  1
     public static final FastDateFormat ISO_DATETIME_FORMAT
 49   -
 
+
             = FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ss");
 50   -
     /**
+
 
 51   -
      * ISO 8601 formatter for date-time with time zone.
+
     /**
 52   -
      * The format used is {@code yyyy-MM-dd'T'HH:mm:ssZZ}.
+
      * ISO 8601 formatter for date-time with time zone.
 53   -
      */
-  54  1
     public static final FastDateFormat ISO_DATETIME_TIME_ZONE_FORMAT
+
      * The format used is {@code yyyy-MM-dd'T'HH:mm:ssZZ}.
+  54   +
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
 55   +
      */
+  56  1
     public static final FastDateFormat ISO_DATETIME_TIME_ZONE_FORMAT
+  57  
             = FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ssZZ");
-  56   +  58  
 
-  57   +  59  
     /**
-  58   +  60  
      * ISO 8601 formatter for date without time zone.
-  59   +  61  
      * The format used is {@code yyyy-MM-dd}.
-  60   -
      */
-  61  1
     public static final FastDateFormat ISO_DATE_FORMAT
 62   -
             = FastDateFormat.getInstance("yyyy-MM-dd");
+
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
 63   +
      */
+  64  1
     public static final FastDateFormat ISO_DATE_FORMAT
+  65   +
             = FastDateFormat.getInstance("yyyy-MM-dd");
+  66  
 
-  64   +  67  
     /**
-  65   +  68  
      * ISO 8601-like formatter for date with time zone.
-  66   +  69  
      * The format used is {@code yyyy-MM-ddZZ}.
-  67   +  70  
      * This pattern does not comply with the formal ISO 8601 specification
-  68   +  71  
      * as the standard does not allow a time zone  without a time.
-  69   +  72   +
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
+  73  
      */
-  70  1
     public static final FastDateFormat ISO_DATE_TIME_ZONE_FORMAT
-  71   +  74  1
     public static final FastDateFormat ISO_DATE_TIME_ZONE_FORMAT
+  75  
             = FastDateFormat.getInstance("yyyy-MM-ddZZ");
-  72   +  76  
 
-  73   +  77  
     /**
-  74   +  78  
      * ISO 8601 formatter for time without time zone.
-  75   +  79  
      * The format used is {@code 'T'HH:mm:ss}.
-  76   +  80   +
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
+  81  
      */
-  77  1
     public static final FastDateFormat ISO_TIME_FORMAT
-  78   +  82  1
     public static final FastDateFormat ISO_TIME_FORMAT
+  83  
             = FastDateFormat.getInstance("'T'HH:mm:ss");
-  79   +  84  
 
-  80   +  85  
     /**
-  81   +  86  
      * ISO 8601 formatter for time with time zone.
-  82   +  87  
      * The format used is {@code 'T'HH:mm:ssZZ}.
-  83   +  88   +
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
+  89  
      */
-  84  1
     public static final FastDateFormat ISO_TIME_TIME_ZONE_FORMAT
-  85   +  90  1
     public static final FastDateFormat ISO_TIME_TIME_ZONE_FORMAT
+  91  
             = FastDateFormat.getInstance("'T'HH:mm:ssZZ");
-  86   +  92  
 
-  87   +  93  
     /**
-  88   +  94  
      * ISO 8601-like formatter for time without time zone.
-  89   +  95  
      * The format used is {@code HH:mm:ss}.
-  90   +  96  
      * This pattern does not comply with the formal ISO 8601 specification
-  91   +  97  
      * as the standard requires the 'T' prefix for times.
-  92   +  98   +
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
+  99  
      */
-  93  1
     public static final FastDateFormat ISO_TIME_NO_T_FORMAT
-  94   +  100  1
     public static final FastDateFormat ISO_TIME_NO_T_FORMAT
+  101  
             = FastDateFormat.getInstance("HH:mm:ss");
-  95   +  102  
 
-  96   +  103  
     /**
-  97   +  104  
      * ISO 8601-like formatter for time with time zone.
-  98   +  105  
      * The format used is {@code HH:mm:ssZZ}.
-  99   +  106  
      * This pattern does not comply with the formal ISO 8601 specification
-  100   +  107  
      * as the standard requires the 'T' prefix for times.
-  101   +  108   +
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
+  109  
      */
-  102  1
     public static final FastDateFormat ISO_TIME_NO_T_TIME_ZONE_FORMAT
-  103   +  110  1
     public static final FastDateFormat ISO_TIME_NO_T_TIME_ZONE_FORMAT
+  111  
             = FastDateFormat.getInstance("HH:mm:ssZZ");
-  104   +  112  
 
-  105   +  113  
     /**
-  106   +  114  
      * SMTP (and probably other) date headers.
-  107   +  115  
      * The format used is {@code EEE, dd MMM yyyy HH:mm:ss Z} in US locale.
-  108   +  116   +
      * This format uses the default TimeZone in effect at the time of loading DateFormatUtils class.
+  117  
      */
-  109  1
     public static final FastDateFormat SMTP_DATETIME_FORMAT
-  110   +  118  1
     public static final FastDateFormat SMTP_DATETIME_FORMAT
+  119  
             = FastDateFormat.getInstance("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US);
-  111   +  120  
 
-  112   +  121  
     //-----------------------------------------------------------------------
-  113   +  122  
     /**
-  114   +  123  
      * <p>DateFormatUtils instances should NOT be constructed in standard programming.</p>
-  115   +  124  
      *
-  116   +  125  
      * <p>This constructor is public to permit tools that require a JavaBean instance
-  117   +  126  
      * to operate.</p>
-  118   +  127  
      */
-  119   +  128  
     public DateFormatUtils() {
-  120  1
         super();
-  121  1
     }
-  122   +  129  1
         super();
+  130  1
     }
+  131  
 
-  123   +  132  
     /**
-  124   +  133  
      * <p>Formats a date/time into a specific pattern using the UTC time zone.</p>
-  125   +  134  
      * 
-  126   +  135  
      * @param millis  the date to format expressed in milliseconds
-  127   +  136  
      * @param pattern  the pattern to use to format the date, not null
-  128   +  137  
      * @return the formatted date
-  129   +  138  
      */
-  130   +  139  
     public static String formatUTC(final long millis, final String pattern) {
-  131  1
         return format(new Date(millis), pattern, UTC_TIME_ZONE, null);
-  132   +  140  1
         return format(new Date(millis), pattern, UTC_TIME_ZONE, null);
+  141  
     }
-  133   +  142  
 
-  134   +  143  
     /**
-  135   +  144  
      * <p>Formats a date/time into a specific pattern using the UTC time zone.</p>
-  136   +  145  
      * 
-  137   +  146  
      * @param date  the date to format, not null
-  138   +  147  
      * @param pattern  the pattern to use to format the date, not null
-  139   +  148  
      * @return the formatted date
-  140   +  149  
      */
-  141   +  150  
     public static String formatUTC(final Date date, final String pattern) {
-  142  1
         return format(date, pattern, UTC_TIME_ZONE, null);
-  143   +  151  1
         return format(date, pattern, UTC_TIME_ZONE, null);
+  152  
     }
-  144   +  153  
     
-  145   +  154  
     /**
-  146   +  155  
      * <p>Formats a date/time into a specific pattern using the UTC time zone.</p>
-  147   +  156  
      * 
-  148   +  157  
      * @param millis  the date to format expressed in milliseconds
-  149   +  158  
      * @param pattern  the pattern to use to format the date, not null
-  150   +  159  
      * @param locale  the locale to use, may be <code>null</code>
-  151   +  160  
      * @return the formatted date
-  152   +  161  
      */
-  153   +  162  
     public static String formatUTC(final long millis, final String pattern, final Locale locale) {
-  154  2
         return format(new Date(millis), pattern, UTC_TIME_ZONE, locale);
-  155   +  163  1
         return format(new Date(millis), pattern, UTC_TIME_ZONE, locale);
+  164  
     }
-  156   +  165  
 
-  157   +  166  
     /**
-  158   +  167  
      * <p>Formats a date/time into a specific pattern using the UTC time zone.</p>
-  159   +  168  
      * 
-  160   +  169  
      * @param date  the date to format, not null
-  161   +  170  
      * @param pattern  the pattern to use to format the date, not null
-  162   +  171  
      * @param locale  the locale to use, may be <code>null</code>
-  163   +  172  
      * @return the formatted date
-  164   +  173  
      */
-  165   +  174  
     public static String formatUTC(final Date date, final String pattern, final Locale locale) {
-  166  1
         return format(date, pattern, UTC_TIME_ZONE, locale);
-  167   +  175  1
         return format(date, pattern, UTC_TIME_ZONE, locale);
+  176  
     }
-  168   +  177  
     
-  169   +  178  
     /**
-  170   +  179  
      * <p>Formats a date/time into a specific pattern.</p>
-  171   +  180  
      * 
-  172   +  181  
      * @param millis  the date to format expressed in milliseconds
-  173   +  182  
      * @param pattern  the pattern to use to format the date, not null
-  174   +  183  
      * @return the formatted date
-  175   +  184  
      */
-  176   +  185  
     public static String format(final long millis, final String pattern) {
-  177  1
         return format(new Date(millis), pattern, null, null);
-  178   +  186  1
         return format(new Date(millis), pattern, null, null);
+  187  
     }
-  179   +  188  
 
-  180   +  189  
     /**
-  181   +  190  
      * <p>Formats a date/time into a specific pattern.</p>
-  182   +  191  
      * 
-  183   +  192  
      * @param date  the date to format, not null
-  184   +  193  
      * @param pattern  the pattern to use to format the date, not null
-  185   +  194  
      * @return the formatted date
-  186   +  195  
      */
-  187   +  196  
     public static String format(final Date date, final String pattern) {
-  188  2
         return format(date, pattern, null, null);
-  189   +  197  2
         return format(date, pattern, null, null);
+  198  
     }
-  190   +  199  
 
-  191   +  200  
     /**
-  192   +  201  
      * <p>Formats a calendar into a specific pattern.</p>
-  193   +  202  
      * 
-  194   +  203  
      * @param calendar  the calendar to format, not null
-  195   +  204  
      * @param pattern  the pattern to use to format the calendar, not null
-  196   +  205  
      * @return the formatted calendar
-  197   +  206  
      * @see FastDateFormat#format(Calendar)
-  198   +  207  
      * @since 2.4
-  199   +  208  
      */
-  200   +  209  
     public static String format(final Calendar calendar, final String pattern) {
-  201  1
         return format(calendar, pattern, null, null);
-  202   +  210  1
         return format(calendar, pattern, null, null);
+  211  
     }
-  203   +  212  
     
-  204   +  213  
     /**
-  205   +  214  
      * <p>Formats a date/time into a specific pattern in a time zone.</p>
-  206   +  215  
      * 
-  207   +  216  
      * @param millis  the time expressed in milliseconds
-  208   +  217  
      * @param pattern  the pattern to use to format the date, not null
-  209   +  218  
      * @param timeZone  the time zone  to use, may be <code>null</code>
-  210   +  219  
      * @return the formatted date
-  211   +  220  
      */
-  212   +  221  
     public static String format(final long millis, final String pattern, final TimeZone timeZone) {
-  213  8
         return format(new Date(millis), pattern, timeZone, null);
-  214   +  222  17
         return format(new Date(millis), pattern, timeZone, null);
+  223  
     }
-  215   +  224  
 
-  216   +  225  
     /**
-  217   +  226  
      * <p>Formats a date/time into a specific pattern in a time zone.</p>
-  218   +  227  
      * 
-  219   +  228  
      * @param date  the date to format, not null
-  220   +  229  
      * @param pattern  the pattern to use to format the date, not null
-  221   +  230  
      * @param timeZone  the time zone  to use, may be <code>null</code>
-  222   +  231  
      * @return the formatted date
-  223   +  232  
      */
-  224   +  233  
     public static String format(final Date date, final String pattern, final TimeZone timeZone) {
-  225  8
         return format(date, pattern, timeZone, null);
-  226   +  234  14
         return format(date, pattern, timeZone, null);
+  235  
     }
-  227   +  236  
 
-  228   +  237  
     /**
-  229   +  238  
      * <p>Formats a calendar into a specific pattern in a time zone.</p>
-  230   +  239  
      * 
-  231   +  240  
      * @param calendar  the calendar to format, not null
-  232   +  241  
      * @param pattern  the pattern to use to format the calendar, not null
-  233   +  242  
      * @param timeZone  the time zone  to use, may be <code>null</code>
-  234   +  243  
      * @return the formatted calendar
-  235   +  244  
      * @see FastDateFormat#format(Calendar)
-  236   +  245  
      * @since 2.4
-  237   +  246  
      */
-  238   +  247  
     public static String format(final Calendar calendar, final String pattern, final TimeZone timeZone) {
-  239  0
         return format(calendar, pattern, timeZone, null);
-  240   +  248  18
         return format(calendar, pattern, timeZone, null);
+  249  
     }
-  241   +  250  
 
-  242   +  251  
     /**
-  243   +  252  
      * <p>Formats a date/time into a specific pattern in a locale.</p>
-  244   +  253  
      * 
-  245   +  254  
      * @param millis  the date to format expressed in milliseconds
-  246   +  255  
      * @param pattern  the pattern to use to format the date, not null
-  247   +  256  
      * @param locale  the locale to use, may be <code>null</code>
-  248   +  257  
      * @return the formatted date
-  249   +  258  
      */
-  250   +  259  
     public static String format(final long millis, final String pattern, final Locale locale) {
-  251  1
         return format(new Date(millis), pattern, null, locale);
-  252   +  260  1
         return format(new Date(millis), pattern, null, locale);
+  261  
     }
-  253   +  262  
 
-  254   +  263  
     /**
-  255   +  264  
      * <p>Formats a date/time into a specific pattern in a locale.</p>
-  256   +  265  
      * 
-  257   +  266  
      * @param date  the date to format, not null
-  258   +  267  
      * @param pattern  the pattern to use to format the date, not null
-  259   +  268  
      * @param locale  the locale to use, may be <code>null</code>
-  260   +  269  
      * @return the formatted date
-  261   +  270  
      */
-  262   +  271  
     public static String format(final Date date, final String pattern, final Locale locale) {
-  263  2
         return format(date, pattern, null, locale);
-  264   +  272  2
         return format(date, pattern, null, locale);
+  273  
     }
-  265   +  274  
 
-  266   +  275  
     /**
-  267   +  276  
      * <p>Formats a calendar into a specific pattern in a locale.</p>
-  268   +  277  
      * 
-  269   +  278  
      * @param calendar  the calendar to format, not null
-  270   +  279  
      * @param pattern  the pattern to use to format the calendar, not null
-  271   +  280  
      * @param locale  the locale to use, may be <code>null</code>
-  272   +  281  
      * @return the formatted calendar
-  273   +  282  
      * @see FastDateFormat#format(Calendar)
-  274   +  283  
      * @since 2.4
-  275   +  284  
      */
-  276   +  285  
     public static String format(final Calendar calendar, final String pattern, final Locale locale) {
-  277  1
         return format(calendar, pattern, null, locale);
-  278   +  286  1
         return format(calendar, pattern, null, locale);
+  287  
     }
-  279   +  288  
 
-  280   +  289  
     /**
-  281   +  290  
      * <p>Formats a date/time into a specific pattern in a time zone  and locale.</p>
-  282   +  291  
      * 
-  283   +  292  
      * @param millis  the date to format expressed in milliseconds
-  284   +  293  
      * @param pattern  the pattern to use to format the date, not null
-  285   +  294  
      * @param timeZone  the time zone  to use, may be <code>null</code>
-  286   +  295  
      * @param locale  the locale to use, may be <code>null</code>
-  287   +  296  
      * @return the formatted date
-  288   +  297  
      */
-  289   +  298  
     public static String format(final long millis, final String pattern, final TimeZone timeZone, final Locale locale) {
-  290  1
         return format(new Date(millis), pattern, timeZone, locale);
-  291   +  299  0
         return format(new Date(millis), pattern, timeZone, locale);
+  300  
     }
-  292   +  301  
 
-  293   +  302  
     /**
-  294   +  303  
      * <p>Formats a date/time into a specific pattern in a time zone  and locale.</p>
-  295   +  304  
      * 
-  296   +  305  
      * @param date  the date to format, not null
-  297   +  306  
      * @param pattern  the pattern to use to format the date, not null, not null
-  298   +  307  
      * @param timeZone  the time zone  to use, may be <code>null</code>
-  299   +  308  
      * @param locale  the locale to use, may be <code>null</code>
-  300   +  309  
      * @return the formatted date
-  301   +  310  
      */
-  302   +  311  
     public static String format(final Date date, final String pattern, final TimeZone timeZone, final Locale locale) {
-  303  29
         final FastDateFormat df = FastDateFormat.getInstance(pattern, timeZone, locale);
-  304  29
         return df.format(date);
-  305   +  312  41
         final FastDateFormat df = FastDateFormat.getInstance(pattern, timeZone, locale);
+  313  41
         return df.format(date);
+  314  
     }
-  306   +  315  
 
-  307   +  316  
     /**
-  308   +  317  
      * <p>Formats a calendar into a specific pattern in a time zone  and locale.</p>
-  309   +  318  
      * 
-  310   +  319  
      * @param calendar  the calendar to format, not null
-  311   +  320  
      * @param pattern  the pattern to use to format the calendar, not null
-  312   +  321  
      * @param timeZone  the time zone  to use, may be <code>null</code>
-  313   +  322  
      * @param locale  the locale to use, may be <code>null</code>
-  314   +  323  
      * @return the formatted calendar
-  315   +  324  
      * @see FastDateFormat#format(Calendar)
-  316   +  325  
      * @since 2.4
-  317   +  326  
      */
-  318   +  327  
     public static String format(final Calendar calendar, final String pattern, final TimeZone timeZone, final Locale locale) {
-  319  2
         final FastDateFormat df = FastDateFormat.getInstance(pattern, timeZone, locale);
-  320  2
         return df.format(calendar);
-  321   +  328  20
         final FastDateFormat df = FastDateFormat.getInstance(pattern, timeZone, locale);
+  329  20
         return df.format(calendar);
+  330  
     }
-  322   +  331  
 
-  323   +  332  
 }
- + \ No newline at end of file Modified: websites/production/commons/content/proper/commons-lang/cobertura/org.apache.commons.lang3.time.DateParser.html ============================================================================== --- websites/production/commons/content/proper/commons-lang/cobertura/org.apache.commons.lang3.time.DateParser.html (original) +++ websites/production/commons/content/proper/commons-lang/cobertura/org.apache.commons.lang3.time.DateParser.html Fri May 1 20:55:51 2015 @@ -229,6 +229,6 @@
 }
- + \ No newline at end of file