ClassYear
Implements the YEAR function, extracting the year component from a date serial number and returning an integer 1900–9999.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Year : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionYear
Inherited Members
Constructors
Year()
Initializes a new YEAR function instance for extracting year components from date values.
Declaration
public Year()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Gets the function info.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Virtual method evaluating the function with System.Object arguments array.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides