If so, then there are several Locale settings which will give a default 24 hour clock (and for long formats, still use English). I've written two really small classes, one of which will print out all System properties, and another which will show the different locales and a Date formatted to that locale. To set the locale right it seems you need to use -D flag to set both user.language and user.country . From what I can see en_GB will use the 24 hour clock.
If you want the small sample classes, I can mail you those, too.
Sorry it took a while (12 days), but I got the idea here after I was reading about the System class. Hopefully this is still useful! :-)
Can you switch the Locale()?
Date: 2006-06-20 09:33 pm (UTC)If you want the small sample classes, I can mail you those, too.
Sorry it took a while (12 days), but I got the idea here after I was reading about the System class. Hopefully this is still useful! :-)
-- Helgi / Craig