Hi,

Request your review of this simple change.

JBS:    https://bugs.openjdk.java.net/browse/JDK-8160225 
(java.time.format.DateTimeFormatter issues for month-of-year)

Description:    It is a simple documentation change. The DateTimeFormatter 
expects the month format to be represented by "L" for number and "M" for text 
(eg: "Jul" may be accepted by a format string "MMM"; "07" may be accepted by a 
format string "LL", and so on). However, the documentation lists this somewhat 
confusingly:

"M/L month-of-year number/text 7; 07; Jul; July; J"

A casual reader may interpret "M" as the numeric representation and "L" as the 
textual representation of the month-of-year, whereas the actual behavior of the 
API is the other way around. This patch fixes it.


Webrev:    http://cr.openjdk.java.net/~vagarwal/8160225/webrev.0/




Reply via email to