Class CalcEngineHelper
Used for CalcEngineHelper
Inheritance
System.Object
CalcEngineHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.CellGrid
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public static class CalcEngineHelper
Methods
FromOADate(Double)
Returns a DateTime equivalent to the specified OLE Automation Date.
Declaration
public static DateTime FromOADate(double doubleOLEValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | doubleOLEValue | An OLE Automation Date value. |
Returns
Type | Description |
---|---|
System.DateTime | An object that represents the same date and time as d. |
ToOADate(DateTime)
Converts the value of this instance to the equivalent OLE Automation date.
Declaration
public static double ToOADate(this DateTime inDateTime)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | inDateTime |
Returns
Type | Description |
---|---|
System.Double | A double-precision floating-point number that contains an OLE Automation date equivalent to the value of this instance. |