Class DateTimeFunctionImpl


  • public class DateTimeFunctionImpl
    extends java.lang.Object
    Author:
    ashish
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.poi.ss.formula.functions.Function DATEDIF  
      static org.apache.poi.ss.formula.functions.Function DATEVALUE  
      static org.apache.poi.ss.formula.functions.Function EOMONTH  
      static org.apache.poi.ss.formula.functions.Function HOUR  
      static org.apache.poi.ss.formula.functions.Function MINUTE  
      static org.apache.poi.ss.formula.functions.Function SECOND  
      static org.apache.poi.ss.formula.functions.Function WEEKDAY  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Calendar argToCalendar​(java.lang.Object arg)
      Converts a serial number to a year
      • Methods inherited from class java.lang.Object

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

      • DATEVALUE

        public static final org.apache.poi.ss.formula.functions.Function DATEVALUE
      • HOUR

        public static final org.apache.poi.ss.formula.functions.Function HOUR
      • MINUTE

        public static final org.apache.poi.ss.formula.functions.Function MINUTE
      • SECOND

        public static final org.apache.poi.ss.formula.functions.Function SECOND
      • WEEKDAY

        public static final org.apache.poi.ss.formula.functions.Function WEEKDAY
      • EOMONTH

        public static final org.apache.poi.ss.formula.functions.Function EOMONTH
      • DATEDIF

        public static final org.apache.poi.ss.formula.functions.Function DATEDIF
    • Constructor Detail

      • DateTimeFunctionImpl

        public DateTimeFunctionImpl()
    • Method Detail

      • argToCalendar

        public static java.util.Calendar argToCalendar​(java.lang.Object arg)
        Converts a serial number to a year
        Parameters:
        arg - input data
        Returns:
        a year