Thursday, June 03, 2004

Java date problems follow up...

Some kind, anonymous, soul just posted this link in a comment on yesterdays post. It's a good article generally on Calendar, and explains some of the history of Java and dates. I especially liked the following.

International Calendars in Java: "You would think that when we deprecated most of Date and added the new Calendar class, we would have fixed Date's biggest annoyance: the fact that January is month 0. We certainly should have, but unfortunately we didn't. We were afraid that programmers would be confused if Date used zero-based months and Calendar used one-based months. And a few programmers probably would have been. But in hindsight, the fact that Calendar is still zero-based has caused an enormous amount of confusion, and it was probably the biggest single mistake in the Java international API's."

Thank you to whoever posted that.

6 comments:

Matt Large said...

Hi Mikael, I'd not tried 1.5 in any flavour. I just downloaded it and gave it a try with my date selector, which I wouldn't have thought would give the same problem as you, but still I was happy that there were no problems. It seems to work great with 1.5-b2

Unknown said...

arizona cardinals
coach outlet store
chicago bears
michael kors outlet online
soccer jerseys,soccer jerseys wholesale,soccer jerseys cheap,soccer jerseys for sale,cheap soccer jersey,usa soccer jersey,football jerseys
ugg boots on sale
cheap oakley sunglasses
true religion sale
kobe 9 elite
nike air max 2014
mont blanc
ed hardy outlet
philadelphia eagles
belstaff jackets
michael kors handbags sale
vans sneakers
michael kors handbags,michael kors outlet,michael kors outlet online,michael kors,kors outlet,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors
nike free
north face outlet
nike air huarache,nike huarache,nike huarache sneakers,nike huarache shoes
pittsburgh steelers
boston celtics
ralph lauren
air jordan 11 free shipping
nike air max 90
swarovski outlet
michael kors online outlet
nike running shoes
baltimore ravens
winter jackets outlet
san antonio spurs
cheap uggs
dddd1110

Unknown said...

jianbin1125
rolex watches
louis vuitton handbags outlet
basketball shoes,basketball sneakers,lebron james shoes,sports shoes,kobe bryant shoes,kobe sneakers,nike basketball shoes,running shoes,mens sport shoes,nike shoes
futbol baratas
cheap jordans
coach factory outlet
hollister clothing store
kobe shoes
ugg boots uk
polo shirts

chenmeinv0 said...

louboutin outlet
cheap rolex watches
canada goose outlet
burberry scarf
spurs jerseys
ugg boots outlet
michael kors outlet clearance
louis vuitton handbags
uggs sale
gucci outlet online
chenyingying20161130

Unknown said...

burberry outlet
christian louboutin shoes
rayban
christian louboutin shoes
adidas outlet
oakley sunglasses
birkenstock sandals
canada goose outlet
rolex daytona
ralph lauren outlet online
2016127

chenmeinv0 said...

coach outlet store online
louis vuitton purses
chaussures le coq sportif
coach outlet online
oakley vault
giuseppe zanotti sneakers
coach outlet store online
spurs jerseys
coach outlet online
coach outlet online
2017.2.23xukaimin