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 Detail

      • 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