Class FunctionHelper


  • public final class FunctionHelper
    extends java.lang.Object
    Internal User only. Helper class to handle the two version of Books.
    Author:
    henrichen, Dennis
    • Constructor Summary

      Constructors 
      Constructor Description
      FunctionHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Object[] editTextToValue​(java.lang.String txt, java.lang.String formatStr)  
      static java.lang.Object[] parseToDate​(java.lang.String txt)  
      • Methods inherited from class java.lang.Object

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

      • FunctionHelper

        public FunctionHelper()
    • Method Detail

      • parseToDate

        public static java.lang.Object[] parseToDate​(java.lang.String txt)
      • editTextToValue

        public static java.lang.Object[] editTextToValue​(java.lang.String txt,
                                                         java.lang.String formatStr)
        Parameters:
        txt - the text to be input
        formatStr - the cell text format
        Returns:
        object array with the value type in 0(an Integer), the value in 1(an Object), and the date format in 2(a String if parse as a date)