Table of Contents

Constructor Year

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

Year(IElement)

Initializes a new instance of YEAR for a single element.

public Year(IElement element)

Parameters

element IElement

The date or datetime element to extract the year from.

Year(IEnumerable<IElement>)

Initializes a new instance of YEAR for multiple elements.

public Year(IEnumerable<IElement> elements)

Parameters

elements IEnumerable<IElement>

The date or datetime elements to extract the year from.