ClassDay
Implements the DAY function that extracts the day component (1-31) from a date serial number.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Day : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionDay
Inherited Members
Constructors
Day()
Initializes a new instance of the Day function that extracts the day component from dates.
Declaration
public Day()
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<double>)
Evaluates the DAY function by extracting the day component from the date serial number argument, returning #NUM! error for negative or invalid dates.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides