ClassDate
Implements the DATE function that constructs a date serial number from year, month, and day components, returning a formatted date value.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Date : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionDate
Inherited Members
Constructors
Date()
Initializes a new instance of the Date function that constructs date serial numbers from year, month, and day values.
Declaration
public Date()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Metadata describing the function's parameters, description, and return format.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the DATE function by constructing a date serial number from year, month, and day arguments, returning #NUM! error for invalid or negative dates.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides