| java.lang.Object org.zkoss.text.DateFormats
DateFormats | public class DateFormats (Code) | | DateFormat relevant utilities.
author: tomyeh |
Method Summary | |
final public static String | format(Date d, boolean dateOnly) Formats a Date object based on the current Locale. | final public static Date | parse(String s) Parses a string to a date. |
format | final public static String format(Date d, boolean dateOnly)(Code) | | Formats a Date object based on the current Locale.
Parameters: dateOnly - indicates whether to show only date; false to showboth date and time |
|
|