Package org.daypilot.date
Class TimeFormatter
- java.lang.Object
-
- org.daypilot.date.TimeFormatter
-
public class TimeFormatter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TimeFormatter()
-
Method Summary
Modifier and Type Method Description static java.lang.String
getHour(int hour, TimeFormat clock, java.lang.String format, java.util.Locale locale)
static java.lang.String
getHour(DateTime time, TimeFormat clock, java.lang.String format, java.util.Locale locale)
static java.lang.String
getHourMinutes(DateTime date, TimeFormat clock, java.util.Locale locale)
static java.lang.String
getHourMinutes(TimeSpan time, TimeFormat clock, java.util.Locale locale)
-
-
-
Method Detail
-
getHour
public static java.lang.String getHour(DateTime time, TimeFormat clock, java.lang.String format, java.util.Locale locale)
-
getHour
public static java.lang.String getHour(int hour, TimeFormat clock, java.lang.String format, java.util.Locale locale)
-
getHourMinutes
public static java.lang.String getHourMinutes(DateTime date, TimeFormat clock, java.util.Locale locale)
-
getHourMinutes
public static java.lang.String getHourMinutes(TimeSpan time, TimeFormat clock, java.util.Locale locale)
-
-