Table of Contents

Constructor Hour

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

Hour(Column)

Initializes a new instance of HOUR for a column.

public Hour(Column column)

Parameters

column Column

The datetime or time column to extract the hour from.

Hour(Expression)

Initializes a new instance of HOUR for an expression.

public Hour(Expression expression)

Parameters

expression Expression

The datetime or time expression to extract the hour from.

Hour(IElement)

Initializes a new instance of HOUR for any element.

public Hour(IElement element)

Parameters

element IElement

The datetime or time element to extract the hour from.

Hour(IEnumerable<IElement>)

Initializes a new instance of HOUR for a composed expression (e.g. HOUR(DATEADD(...))).

public Hour(IEnumerable<IElement> elements)

Parameters

elements IEnumerable<IElement>

The elements that make up the expression to evaluate.