LANG-1638: Added docs regarding week year support (#924)

* LANG-1638: Added docs regarding week year support

* Moved comment from method to class level

* Added link to explanation of week vs calendar year
This commit is contained in:
Andrew Thomas 2022-08-27 11:41:05 -07:00 committed by GitHub
parent 9a372f6749
commit 44c5d39bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ import java.util.TimeZone;
* <p>Note that the JDK has a bug wherein calling Calendar.get(int) will
* override any previously called Calendar.clear() calls. See LANG-755.</p>
*
* <p>Note that when using capital YYYY instead of lowercase yyyy, the formatter
* will assume current year as week year is not supported. See {@link java.util.GregorianCalendar}
* Week Year section for an explanation on the difference between calendar and week years.</p>
*
* @since 2.0
*/
public class DateFormatUtils {