Class: RDF::Literal::Day

Inherits:
Date
  • Object
show all
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.

See Also:

Constant Summary

DATATYPE =
XSD.gDay
GRAMMAR =
%r(\A\d{2}(?:(?:[\+\-]\d{2}:\d{2})|UTC|Z)?\Z).freeze
FORMAT =
'%d%Z'.freeze