Referring to the SimpleDateFormat docs, the pattern character for representing years is y
, so we have representations like yy
and yyyy
(13, 2013 respectively). That's fine.
When I output the DEFAULT
/ SHORT
/ MEDIUM
/ LONG
/ FULL
patterns for most locales, I get something along these lines:
(EG: New Zealand)
Default: d/MM/yyyy
Short: d/MM/yy
Medium: d/MM/yyyy
Long: d MMMM yyyy
Full: EEEE, d MMMM yyyy
However looking at some locales, eg France, I get this:
Default: j MMM aaaa
Short: jj/MM/aa
Medium: j MMM aaaa
Long: j MMMM aaaa
Full: EEEE j MMMM aaaa
Obviously here aaaa
is a representation of the year, but what's the distinction in intent between yyyy
and aaaa
? IE: why do they use aaaa
instead of just yyyy
.
Initially I thought it might be something along the lines of French for "[y]ear" is "[a]nnée" (and "[d]ay" is "[j]our", but I see it's also aaaa
for Hungarian (and many other locales), and Hungarian for "year" is "év" (day "nap"), so I think the "a" / "année" correlation I'm making is coincidence.
So what is the difference one is supposed to infer here?
I googled about, but drew a blank. Also it might be as obvious as an obvious thing to a Java dev, but I'm just a CFML dev who simply bolts Java into my CFML occasionally when Java does something more expediently than I can do it in native CFML. So sorry if it's a dumb question.