public class SimpleTimeLabelFormat extends Object implements TimeLabelFormat
strftime. For more details on the supported
conversions see the Date/Time Conversions section for Formatter. Examples:%Y-%m-%dT%H:%M:%Syyyy'-'MM'-'dd'T'HH':'mm':'ss| Constructor and Description |
|---|
SimpleTimeLabelFormat(String format)Create a new instance using a format string that is either an strftime patter or a simple
date format pattern. |
public SimpleTimeLabelFormat(String format)
format -public String format(Calendar calendar, Locale locale)
format in interface TimeLabelFormatcalendar - calendar to use for the formatterlocale - locale that will be used with String.format