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 342701752D for ; Fri, 1 May 2015 20:56:01 +0000 (UTC) Received: (qmail 30130 invoked by uid 500); 1 May 2015 20:56:01 -0000 Delivered-To: apmail-commons-notifications-archive@commons.apache.org Received: (qmail 30047 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 29841 invoked by uid 99); 1 May 2015 20:56:00 -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:00 +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 BC9B7AC2CA4 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 [9/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/commons... 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: <20150501205600.BC9B7AC2CA4@hades.apache.org> Modified: websites/production/commons/content/proper/commons-lang/apidocs/src-html/org/apache/commons/lang3/time/DatePrinter.html ============================================================================== --- websites/production/commons/content/proper/commons-lang/apidocs/src-html/org/apache/commons/lang3/time/DatePrinter.html (original) +++ websites/production/commons/content/proper/commons-lang/apidocs/src-html/org/apache/commons/lang3/time/DatePrinter.html Fri May 1 20:55:51 2015 @@ -57,80 +57,85 @@ 049 050 /** 051 * <p>Formats a {@code Calendar} object.</p> -052 * -053 * @param calendar the calendar to format -054 * @return the formatted string -055 */ -056 String format(Calendar calendar); -057 -058 /** -059 * <p>Formats a milliseond {@code long} value into the -060 * supplied {@code StringBuffer}.</p> -061 * -062 * @param millis the millisecond value to format -063 * @param buf the buffer to format into -064 * @return the specified string buffer -065 */ -066 StringBuffer format(long millis, StringBuffer buf); -067 -068 /** -069 * <p>Formats a {@code Date} object into the -070 * supplied {@code StringBuffer} using a {@code GregorianCalendar}.</p> -071 * -072 * @param date the date to format -073 * @param buf the buffer to format into -074 * @return the specified string buffer -075 */ -076 StringBuffer format(Date date, StringBuffer buf); -077 -078 /** -079 * <p>Formats a {@code Calendar} object into the -080 * supplied {@code StringBuffer}.</p> -081 * -082 * @param calendar the calendar to format -083 * @param buf the buffer to format into -084 * @return the specified string buffer -085 */ -086 StringBuffer format(Calendar calendar, StringBuffer buf); -087 -088 // Accessors -089 //----------------------------------------------------------------------- -090 /** -091 * <p>Gets the pattern used by this printer.</p> -092 * -093 * @return the pattern, {@link java.text.SimpleDateFormat} compatible -094 */ -095 String getPattern(); -096 -097 /** -098 * <p>Gets the time zone used by this printer.</p> -099 * -100 * <p>This zone is always used for {@code Date} printing. </p> -101 * -102 * @return the time zone -103 */ -104 TimeZone getTimeZone(); -105 -106 /** -107 * <p>Gets the locale used by this printer.</p> -108 * -109 * @return the locale -110 */ -111 Locale getLocale(); -112 -113 /** -114 * <p>Formats a {@code Date}, {@code Calendar} or -115 * {@code Long} (milliseconds) object.</p> -116 * -117 * See {@link java.text.DateFormat#format(Object, StringBuffer, FieldPosition)} -118 * -119 * @param obj the object to format -120 * @param toAppendTo the buffer to append to -121 * @param pos the position - ignored -122 * @return the buffer passed in -123 */ -124 StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos); -125} +052 * The TimeZone set on the Calendar is only used to adjust the time offset. +053 * The TimeZone specified during the construction of the Parser will determine the TimeZone +054 * used in the formatted string. +055 * +056 * @param calendar the calendar to format. +057 * @return the formatted string +058 */ +059 String format(Calendar calendar); +060 +061 /** +062 * <p>Formats a milliseond {@code long} value into the +063 * supplied {@code StringBuffer}.</p> +064 * +065 * @param millis the millisecond value to format +066 * @param buf the buffer to format into +067 * @return the specified string buffer +068 */ +069 StringBuffer format(long millis, StringBuffer buf); +070 +071 /** +072 * <p>Formats a {@code Date} object into the +073 * supplied {@code StringBuffer} using a {@code GregorianCalendar}.</p> +074 * +075 * @param date the date to format +076 * @param buf the buffer to format into +077 * @return the specified string buffer +078 */ +079 StringBuffer format(Date date, StringBuffer buf); +080 +081 /** +082 * <p>Formats a {@code Calendar} object into the supplied {@code StringBuffer}.</p> +083 * The TimeZone set on the Calendar is only used to adjust the time offset. +084 * The TimeZone specified during the construction of the Parser will determine the TimeZone +085 * used in the formatted string. +086 * +087 * @param calendar the calendar to format +088 * @param buf the buffer to format into +089 * @return the specified string buffer +090 */ +091 StringBuffer format(Calendar calendar, StringBuffer buf); +092 +093 // Accessors +094 //----------------------------------------------------------------------- +095 /** +096 * <p>Gets the pattern used by this printer.</p> +097 * +098 * @return the pattern, {@link java.text.SimpleDateFormat} compatible +099 */ +100 String getPattern(); +101 +102 /** +103 * <p>Gets the time zone used by this printer.</p> +104 * +105 * <p>This zone is always used for {@code Date} printing. </p> +106 * +107 * @return the time zone +108 */ +109 TimeZone getTimeZone(); +110 +111 /** +112 * <p>Gets the locale used by this printer.</p> +113 * +114 * @return the locale +115 */ +116 Locale getLocale(); +117 +118 /** +119 * <p>Formats a {@code Date}, {@code Calendar} or +120 * {@code Long} (milliseconds) object.</p> +121 * +122 * See {@link java.text.DateFormat#format(Object, StringBuffer, FieldPosition)} +123 * +124 * @param obj the object to format +125 * @param toAppendTo the buffer to append to +126 * @param pos the position - ignored +127 * @return the buffer passed in +128 */ +129 StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos); +130}