railo.runtime.format
Class TimeFormat
java.lang.Object
railo.runtime.format.BaseFormat
railo.runtime.format.TimeFormat
- All Implemented Interfaces:
- Format
public final class TimeFormat
- extends BaseFormat
- implements Format
TimeFormat
public TimeFormat(Locale locale)
- constructor of the class
- Parameters:
locale
-
format
public String format(Date date)
- formats a date to a cfml date format (short)
- Specified by:
format
in interface Format
- Parameters:
date
-
- Returns:
- formated date
format
public String format(Date date,
String mask)
- formats a date to a cfml date format
- Specified by:
format
in interface Format
- Parameters:
date
- mask
-
- Returns:
- formated date
format
public String format(DateTime date,
String mask,
TimeZone tz)
Copyright © 2012 Railo