Class ISO8601GregorianCalendarConverter

  • All Implemented Interfaces:
    ConverterMatcher, SingleValueConverter

    public class ISO8601GregorianCalendarConverter
    extends AbstractSingleValueConverter
    A GregorianCalendarConverter conforming to the ISO8601 standard. The converter will always serialize the calendar value in UTC and deserialize it to a value in the current default time zone.
    Since:
    1.1.3
    See Also:
    ISO 8601
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canConvert​(java.lang.Class type)
      Determines whether the converter can marshall a particular type.
      java.lang.Object fromString​(java.lang.String str)
      Unmarshals an Object from its single value representation.
      java.lang.String toString​(java.lang.Object obj)
      Marshals an Object into a single value representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EMPTY_CLASS_ARRAY

        private static final java.lang.Class[] EMPTY_CLASS_ARRAY
      • EMPTY_OBJECT_ARRAY

        private static final java.lang.Object[] EMPTY_OBJECT_ARRAY
    • Constructor Detail

      • ISO8601GregorianCalendarConverter

        public ISO8601GregorianCalendarConverter()