org.daypilot.date
Class TimeFormatter

java.lang.Object
  extended by org.daypilot.date.TimeFormatter

public class TimeFormatter
extends java.lang.Object


Constructor Summary
TimeFormatter()
           
 
Method Summary
static java.lang.String getHour(DateTime time, TimeFormat clock, java.lang.String format, java.util.Locale locale)
           
static java.lang.String getHour(int hour, 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeFormatter

public TimeFormatter()
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)


Version 1.0.453
Copyright © 2012 Annpoint, s.r.o. All Rights Reserved.