Class YearFunction
Represents the SPARQL YEAR() Function.
Inheritance
YearFunction
Implements
Inherited Members
Namespace: VDS.RDF.Query.Expressions.Functions.Sparql.DateTime
Assembly: dotNetRdf.dll
Syntax
public class YearFunction : YearFromDateTimeFunction, ISparqlExpression
Constructors
| Edit this page View SourceYearFunction(ISparqlExpression)
Creates a new SPARQL YEAR() Function.
Declaration
public YearFunction(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Argument Expression. |
Properties
| Edit this page View SourceFunctor
Gets the Functor of this Expression.
Declaration
public override string Functor { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
| Edit this page View SourceToString()
Gets the String representation of this Expression.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceTransform(IExpressionTransformer)
Transforms the Expression using the given Transformer.
Declaration
public override ISparqlExpression Transform(IExpressionTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
IExpressionTransformer | transformer | Expression Transformer. |
Returns
Type | Description |
---|---|
ISparqlExpression |