Interface TimeLabelFormat

All Known Implementing Classes:
SimpleTimeLabelFormat

public interface TimeLabelFormat
Simplified version of DateFormat for just defining how to map a timestamp into a label for presentation.
  • Method Summary

    Modifier and Type
    Method
    Description
    format(Calendar calendar, Locale locale)
    Format a timestamp.
  • Method Details

    • format

      String format(Calendar calendar, Locale locale)
      Format a timestamp.
      Parameters:
      calendar - calendar to use for the formatter
      locale - locale that will be used with String.format
      Returns:
      formatted string for the timestamp