Class: RDF::Literal::Month

Inherits:
Date
  • Object
show all
Defined in:
lib/rdf/xsd/date.rb

Overview

gMonth is a gregorian month that recurs every year. The value space of gMonth is the space of a set of calendar months as defined in ยง 3 of [ISO 8601]. Specifically, it is a set of one-month long, yearly periodic instances.

Constant Summary collapse

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