Hour
Implements the HOUR function that extracts the hour component (0-23) from a time serial number.
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Hour : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionHour...
Inherited Members
Constructors
Initializes a new instance of the Hour function that extracts the hour component from time values.
public Hour()
Fields
The name of the function.
public static readonly string FunctionName
Properties
Metadata describing the function's parameters and description.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides:
Methods
Evaluates the HOUR function by extracting the hour component from the time serial number argument, returning #NUM! error for negative or invalid times.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides: