Zat Home
Support | Bug Report

572

zat.misc.Clock bean lacks AM/PM

The Clock offers a getHour() method, but there is no way to tell whether it is AM or PM, and the hours range only from 1 to 12.

Its getCurrentTime() (as string) method prints the time using a 24-hour clock, but parsing that just to figure out whether it is after noon or not is painful.

** Brian 00.03.15 **

Generated on: Mon Apr 10 11:49:40 PDT 2000