org.boris.xlloop.util
Class ExcelDate

java.lang.Object
  extended by org.boris.xlloop.util.ExcelDate

public class ExcelDate
extends java.lang.Object


Field Summary
static double MS_IN_DAY
           
 
Constructor Summary
ExcelDate()
           
 
Method Summary
static double date(double y, double m, double d)
           
static int getDayOfMonth(double value)
           
static int getHour(double value)
           
static int getMinute(double value)
           
static int getMonth(double value)
           
static int getSecond(double value)
           
static int getWeekday(double value)
           
static int getYear(double value)
           
static double time(double h, double m, double s)
           
static double toExcelDate(long millis)
           
static long toJavaDate(double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MS_IN_DAY

public static final double MS_IN_DAY
See Also:
Constant Field Values
Constructor Detail

ExcelDate

public ExcelDate()
Method Detail

toJavaDate

public static long toJavaDate(double value)

toExcelDate

public static double toExcelDate(long millis)

getDayOfMonth

public static int getDayOfMonth(double value)

getMonth

public static int getMonth(double value)

getYear

public static int getYear(double value)

getWeekday

public static int getWeekday(double value)

getHour

public static int getHour(double value)

getMinute

public static int getMinute(double value)

getSecond

public static int getSecond(double value)

date

public static double date(double y,
                          double m,
                          double d)

time

public static double time(double h,
                          double m,
                          double s)