Class CalcEngineHelper
Used for CalcEngineHelper
Inheritance
System.Object
CalcEngineHelper
Namespace: Syncfusion.UI.Xaml.CellGrid
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public static class CalcEngineHelper : Object
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. |