Class DateNode
Valued Node representing a Date value.
Implements
Inherited Members
Namespace: VDS.RDF.Nodes
Assembly: dotNetRdf.dll
Syntax
public class DateNode : DateTimeNode, ILiteralNode, IEquatable<BaseLiteralNode>, IComparable<BaseLiteralNode>, IEquatable<LiteralNode>, IComparable<LiteralNode>, IValuedNode, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IComparable<IRefNode>, IComparable<ITripleNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, IEquatable<IRefNode>, IEquatable<ITripleNode>
Constructors
| Edit this page View SourceDateNode(DateTime)
Creates a new Date valued node.
Declaration
public DateNode(DateTime value)
Parameters
Type | Name | Description |
---|---|---|
DateTime | value | Date Time value. |
DateNode(DateTime, string)
Creates a new Date valued node.
Declaration
public DateNode(DateTime value, string lexicalValue)
Parameters
Type | Name | Description |
---|---|---|
DateTime | value | Date Time value. |
string | lexicalValue | Lexical Value. |
DateNode(DateTimeOffset)
Creates a new Date valued node.
Declaration
public DateNode(DateTimeOffset value)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | value | Date Time value. |
DateNode(DateTimeOffset, string)
Creates a new Date valued node.
Declaration
public DateNode(DateTimeOffset value, string lexicalValue)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | value | Date Time value. |
string | lexicalValue | Lexical Value. |