Is it possible to parse a date 8302011using jodatime? In a less painful format, it would look like 8/30/2011which I would label as MM/dd/yyyy.
What I tried:
- Template
Mddyyyy8302011 → Cannot parse "8302011": Value 83 for monthOfYear must be in the range [1,12]12302011 → 2011-12-30T00:00:00.000Z
Fortunately, the date is not ambiguous, as dayit is always represented as two digits. A month, however, is one or two digits.
I understand that it would be simple enough to fill the zeros on the left with 8 characters, but in this case I can not do this.
source
share