Class RFC3339Converter

    • Method Detail

      • parse

        public java.util.Date parse​(java.lang.String source)
      • format

        public void format​(java.lang.Appendable out,
                           java.util.Date date,
                           int offset)
                    throws java.io.IOException
        Description copied from interface: DateTimeConverter
        Prints a date with a specified offset
        Parameters:
        out - print destination
        date - the date to print
        offset - the timezone offset in [ms], with which the date shall be printed. Must be a multiple of 60000
        Throws:
        java.io.IOException - when a print operation fails
      • parseRFC3339Date

        public static java.util.Date parseRFC3339Date​(java.lang.String source,
                                                      RFC3339Converter.Format format)
      • printRFC3339Date

        public static void printRFC3339Date​(java.lang.Appendable out,
                                            java.util.Date date,
                                            RFC3339Converter.Format format,
                                            int offset)
                                     throws java.io.IOException
        Parameters:
        out - print destination
        date - the date to print
        format - the date/time format
        offset - the timezone offset [ms]
        Throws:
        java.io.IOException - when a print operation fails