Class: RDF::Literal::Day
- Inherits:
-
Date
- Object
- Date
- RDF::Literal::Day
- Defined in:
- lib/rdf/xsd/date.rb
Overview
gDay is a gregorian day that recurs, specifically a day of the month such as the 5th of the month. Arbitrary recurring days are not supported by this datatype. The value space of gDay is the space of a set of calendar dates as defined in ยง 3 of [ISO 8601]. Specifically, it is a set of one-day long, monthly periodic instances.
Constant Summary
- DATATYPE =
XSD.gDay
- GRAMMAR =
%r(\A\d{2}(?:(?:[\+\-]\d{2}:\d{2})|UTC|Z)?\Z).freeze
- FORMAT =
'%d%Z'.freeze