Great - note that DateFormat.getDateInstance is only specified to return a DateFormat object, so any class that extends DateFormat could be returned i.e. this is not guaranteed to work in every JRE - you could get a ClassCastException in some versions from this line
Post by:autobot
CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
a bit of art, as a gift, the permaculture playing cards