Skip to content

Commit

Permalink
Enhance Javadoc wrt parsing of format patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Sep 12, 2013
1 parent 85ff301 commit 11489f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Deprecations since 2.3

Bug fixes since 2.3
-------------------
- Better Javadoc for parsing of numbers in format patterns [#60]


Scala
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/org/joda/time/format/DateTimeFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@
* the full form is used; otherwise a short or abbreviated form is used if
* available.
* <p>
* <strong>Number</strong>: The minimum number of digits. Shorter numbers
* are zero-padded to this amount.
* <strong>Number</strong>: The minimum number of digits.
* Shorter numbers are zero-padded to this amount.
* When parsing, any number of digits are accepted.
* <p>
* <strong>Year</strong>: Numeric presentation for year and weekyear fields
* are handled specially. For example, if the count of 'y' is 2, the year
Expand Down

0 comments on commit 11489f9

Please sign in to comment.