Class Strftime


  • public class Strftime
    extends Object
    An implementation of the Unix strftime with some glibc extensions.
    • Constructor Detail

      • Strftime

        public Strftime()
    • Method Detail

      • format

        public static String format​(String format,
                                    Date date,
                                    Locale locale,
                                    TimeZone zone)
        Format a date string.
        Parameters:
        format - The format in strftime syntax.
        date - The date to format.
        locale - The locale to use for formatting.
        zone - The timezone to use for formatting.
        Returns:
        The formatted datetime.