Class ConvertDateTimeType

  • All Implemented Interfaces:
    AdditionalInformationHandler, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<AbstractConversion>, SizeOfHandler, Stoppable, Conversion, Serializable

    public class ConvertDateTimeType
    extends AbstractConversion
    Turns instances of the specified input date/time type into instances of the specified output date/time type.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
        min-user-mode: Expert
     
    -input-datetime-type <MSECS|MSECS_LONG|SECONDS|SECONDS_LONG|DATE|DATETIME|DATETIMEMSEC|TIME|TIMEMSEC|BASEDATE|BASEDATETIME|BASEDATETIMEMSEC|BASETIME|BASETIMEMSEC|SERIAL_DATETIME|SERIAL_DATETIME_LONG> (property: inputDateTimeType)
        The date/time type of the input data.
        default: DATE
     
    -output-datetime-type <MSECS|MSECS_LONG|SECONDS|SECONDS_LONG|DATE|DATETIME|DATETIMEMSEC|TIME|TIMEMSEC|BASEDATE|BASEDATETIME|BASEDATETIMEMSEC|BASETIME|BASETIMEMSEC|SERIAL_DATETIME|SERIAL_DATETIME_LONG> (property: outputDateTimeType)
        The date/time type of the output data.
        default: MSECS
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_InputDateTimeType

        protected DateTimeType m_InputDateTimeType
        the input datetime type.
      • m_OutputDateTimeType

        protected DateTimeType m_OutputDateTimeType
        the output datetime type.
    • Constructor Detail

      • ConvertDateTimeType

        public ConvertDateTimeType()
    • Method Detail

      • setInputDateTimeType

        public void setInputDateTimeType​(DateTimeType value)
        Sets the input date/time type.
        Parameters:
        value - the type
      • getInputDateTimeType

        public DateTimeType getInputDateTimeType()
        Returns the input date/time type.
        Returns:
        the type
      • inputDateTimeTypeTipText

        public String inputDateTimeTypeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOutputDateTimeType

        public void setOutputDateTimeType​(DateTimeType value)
        Sets the output date/time type.
        Parameters:
        value - the type
      • getOutputDateTimeType

        public DateTimeType getOutputDateTimeType()
        Returns the output date/time type.
        Returns:
        the type
      • outputDateTimeTypeTipText

        public String outputDateTimeTypeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.