Class SpreadSheetStringColumnToTimeMsec

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

    public class SpreadSheetStringColumnToTimeMsec
    extends AbstractSpreadSheetColumnConverter
    Converts the specified spreadsheet column from string to time/msec, according to the provided format.
    For more information on the format, see Javadoc of 'java.text.SimpleTimeFormat' class:
    http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -no-copy <boolean> (property: noCopy)
        If enabled, no copy of the spreadsheet is created before processing it.
        default: false
     
    -column <adams.data.spreadsheet.SpreadSheetColumnIndex> (property: column)
        The column to convert to date; An index is a number starting with 1; column 
        names (case-sensitive) as well as the following placeholders can be used:
         first, second, third, last_2, last_1, last; numeric indices can be enforced 
        by preceding them with '#' (eg '#12'); column names can be surrounded by 
        double quotes.
        default: first
        example: An index is a number starting with 1; column names (case-sensitive) as well as the following placeholders can be used: first, second, third, last_2, last_1, last; numeric indices can be enforced by preceding them with '#' (eg '#12'); column names can be surrounded by double quotes.
     
    -keep-failed <boolean> (property: keepFailed)
        Whether to keep the original value of cells which conversion has failed 
        rather than setting them to missing.
        default: false
     
    -format <adams.data.DateFormatString> (property: format)
        The format string used for parsing the strings.
        default: HH:mm:ss.SSS
        more: http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Formatter

        protected transient DateFormat m_Formatter
        the formatter in use.
    • Constructor Detail

      • SpreadSheetStringColumnToTimeMsec

        public SpreadSheetStringColumnToTimeMsec()