Click or drag to resize

DateNode Class

Valued Node representing a Date value.
Inheritance Hierarchy

Namespace:  VDS.RDF.Nodes
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class DateNode : DateTimeNode

The DateNode type exposes the following members.

Constructors
  NameDescription
Public methodDateNode(IGraph, DateTime)
Creates a new Date valued node.
Public methodDateNode(IGraph, DateTimeOffset)
Creates a new Date valued node.
Public methodDateNode(IGraph, DateTime, String)
Creates a new Date valued node.
Public methodDateNode(IGraph, DateTimeOffset, String)
Creates a new Date valued node.
Top
Properties
  NameDescription
Public propertyDataType
Gives the Data Type Uri for the Literal (if it exists) or a null.
(Inherited from BaseLiteralNode.)
Public propertyEffectiveType
Gets the URI of the datatype this valued node represents as a String.
(Inherited from DateTimeNode.)
Public propertyGraph
Nodes belong to a Graph.
(Inherited from BaseNode.)
Public propertyGraphUri
Gets/Sets the Graph Uri of the Node.
(Inherited from BaseNode.)
Public propertyLanguage
Gives the Language Specifier for the Literal (if it exists) or the Empty String.
(Inherited from BaseLiteralNode.)
Public propertyNodeType
Nodes have a Type.
(Inherited from BaseNode.)
Public propertyNumericType
Gets the numeric type of the node.
(Inherited from DateTimeNode.)
Public propertyValue
Gives the String Value of the Literal.
(Inherited from BaseLiteralNode.)
Top
Methods
  NameDescription
Public methodAsBoolean
Throws an error as date times cannot be converted to booleans.
(Inherited from DateTimeNode.)
Public methodAsDateTime
Gets the date time value of the node.
(Inherited from DateTimeNode.)
Public methodAsDateTimeOffset
Gets the date time value of the node.
(Inherited from DateTimeNode.)
Public methodAsDecimal
Throws an error as date times cannot be converted to decimals.
(Inherited from DateTimeNode.)
Public methodAsDouble
Throws an error as date times cannot be converted to doubles.
(Inherited from DateTimeNode.)
Public methodAsFloat
Throws an error as date times cannot be converted to floats.
(Inherited from DateTimeNode.)
Public methodAsInteger
Throws an error as date times cannot be converted to integers.
(Inherited from DateTimeNode.)
Public methodAsString
Gets the date time value as a string.
(Inherited from DateTimeNode.)
Public methodAsTimeSpan
Throws an error as date times cannot be cast to a time span.
(Inherited from DateTimeNode.)
Public methodCompareTo(BaseLiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(IBlankNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(IGraphLiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(ILiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(INode)
Implementation of CompareTo for Literal Nodes.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(IUriNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(IVariableNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(LiteralNode)
Implementation of Compare To for Literal Nodes.
(Inherited from LiteralNode.)
Public methodEquals(Object)
Implementation of the Equals method for Literal Nodes.
(Inherited from BaseLiteralNode.)
Public methodEquals(BaseLiteralNode)
Determines whether this Node is equal to a Literal Node.
(Inherited from BaseLiteralNode.)
Public methodEquals(IBlankNode)
Determines whether this Node is equal to a Blank Node (should always be false).
(Inherited from BaseLiteralNode.)
Public methodEquals(IGraphLiteralNode)
Determines whether this Node is equal to a Graph Literal Node (should always be false).
(Inherited from BaseLiteralNode.)
Public methodEquals(ILiteralNode)
Determines whether this Node is equal to a Literal Node.
(Inherited from BaseLiteralNode.)
Public methodEquals(INode)
Implementation of the Equals method for Literal Nodes.
(Inherited from BaseLiteralNode.)
Public methodEquals(IUriNode)
Determines whether this Node is equal to a URI Node (should always be false).
(Inherited from BaseLiteralNode.)
Public methodEquals(IVariableNode)
Determines whether this Node is equal to a Variable Node (should always be false).
(Inherited from BaseLiteralNode.)
Public methodEquals(LiteralNode)
Determines whether this Node is equal to a Literal Node.
(Inherited from LiteralNode.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Gets a Hash Code for a Node.
(Inherited from BaseNode.)
Public methodGetObjectData
Gets the serialization information.
(Inherited from BaseLiteralNode.)
Public methodGetSchema
Gets the schema for XML serialization.
(Inherited from BaseNode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadXml
Reads the data for XML deserialization.
(Inherited from BaseLiteralNode.)
Public methodToString
Gets a String representation of a Literal Node.
(Inherited from BaseLiteralNode.)
Public methodToString(INodeFormatter)
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from BaseNode.)
Public methodToString(INodeFormatter, TripleSegment)
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from BaseNode.)
Public methodWriteXml
Writes the data for XML serialization.
(Inherited from BaseLiteralNode.)
Top
Fields
  NameDescription
Protected field_graph
Reference to the Graph that the Node belongs to.
(Inherited from BaseNode.)
Protected field_graphUri
Uri of the Graph that the Node belongs to.
(Inherited from BaseNode.)
Protected field_hashcode
Stores the computed Hash Code for this Node.
(Inherited from BaseNode.)
Protected field_nodetype
Node Type for the Node.
(Inherited from BaseNode.)
Top
See Also