Class CalendarConverter

  • All Implemented Interfaces:
    org.apache.commons.beanutils.Converter

    public class CalendarConverter
    extends Object
    implements org.apache.commons.beanutils.Converter
    Internal class for converting Supported Data Types to Calendar. Supported source data types include Date, Calendar, String, Objects that return a long from their toString(). Only intended for internal use.
    • Constructor Detail

      • CalendarConverter

        public CalendarConverter​(DateFormat dateFormat)
    • Method Detail

      • convert

        public Object convert​(Class destClass,
                              Object srcObj)
        Specified by:
        convert in interface org.apache.commons.beanutils.Converter
      • getDateFormat

        public DateFormat getDateFormat()