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
elementIElementThe 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
elementsIEnumerable<IElement>The date or datetime elements to extract the year from.