Package com.grapecity.documents.excel
Class DateInfo
java.lang.Object
com.grapecity.documents.excel.DateInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DateFromOADate(double value) Deprecated.static LocalDateTimeFromOADateAsLocalDateTime(double value) GetsLocalDateTimeaccording to OADate.static doubleToOADate(LocalDateTime localDateTime) Gets OADate according to LocalDateTime.static doubleGets OADate according to calendar.static doubleGets OADate according to Date.
-
Constructor Details
-
DateInfo
public DateInfo()
-
-
Method Details
-
ToOADate
Gets OADate according to Date.- Parameters:
date-- Returns:
- the value of OADate
-
ToOADate
Gets OADate according to calendar.- Parameters:
calendar-- Returns:
- the value of OADate
-
ToOADate
Gets OADate according to LocalDateTime.- Parameters:
localDateTime-- Returns:
- the value of OADate
-
FromOADate
Deprecated.This member is obsolete. Use
GetsFromOADateAsLocalDateTime(double)instead.Dateaccording to OADate.- Parameters:
value-- Returns:
- the value of Date
-
FromOADateAsLocalDateTime
GetsLocalDateTimeaccording to OADate.- Parameters:
value-- Returns:
- the value of Date
-