ClassDateValue
Implements the DATEVALUE function that parses a text string into a date serial number, allowing conversion of date strings to numeric values.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class DateValue : StringsInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<string>StringsInFunctionDateValue
Inherited Members
Constructors
DateValue()
Initializes a new instance of the DateValue function that converts date text strings to serial numbers.
Declaration
public DateValue()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Metadata describing the function's parameters and description.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<string>)
Evaluates the DATEVALUE function by parsing the text argument as a date and returning its serial number, or #VALUE! error if the text is not a valid date.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<string> context)
Parameters
context
FunctionEvaluationContext<string>
The context.
Returns
Functions result as RadExpression.
Overrides