Constructor Month
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Month(IElement)
Initializes a new instance of MONTH for a single element.
public Month(IElement element)
Parameters
elementIElementThe date or datetime element to extract the month from.
Month(IEnumerable<IElement>)
Initializes a new instance of MONTH for multiple elements.
public Month(IEnumerable<IElement> elements)
Parameters
elementsIEnumerable<IElement>The date or datetime elements to extract the month from.
Month(Column)
Initializes a new instance of MONTH for a column.
public Month(Column column)
Parameters
columnColumnThe date or datetime column to extract the month from.
Month(DateTime)
Initializes a new instance of MONTH for a DateTime literal value.
public Month(DateTime value)
Parameters
valueDateTimeThe DateTime value to extract the month from.
Month(DateOnly)
Initializes a new instance of MONTH for a DateOnly literal value.
public Month(DateOnly value)
Parameters
valueDateOnlyThe DateOnly value to extract the month from.
Month(DateTimeOffset)
Initializes a new instance of MONTH for a DateTimeOffset literal value.
public Month(DateTimeOffset value)
Parameters
valueDateTimeOffsetThe DateTimeOffset value to extract the month from.