Class: RDF::Literal::DateTimeStamp
- Inherits:
-
DateTime
- Object
- DateTime
- RDF::Literal::DateTimeStamp
- Defined in:
- lib/rdf/xsd/date.rb
Overview
dateTimeStamp
The dateTimeStamp datatype is ·derived· from dateTime by giving the value required to its explicitTimezone facet. The result is that all values of dateTimeStamp are required to have explicit time zone offsets and the datatype is totally ordered.
Constant Summary collapse
- DATATYPE =
RDF::XSD.dateTimeStamp
- GRAMMAR =
%r(\A(-?\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?)((?:[\+\-]\d{2}:\d{2})|UTC|GMT|Z)\Z).freeze
- FORMAT =
'%Y-%m-%dT%H:%M:%S'.freeze