This is an RDF::Literal
implementation around
Extended Date Time Format.
The underlying EDTF parser and implementation is provided by
edtf-ruby
. The parser supports all
EDTF features, with caveats noted below.
require 'rdf/edtf'
RDF::EDTF::Literal.new('1076?')
# or
RDF::Literal('1076?', datatype: RDF::EDTF::Literal::DATATYPE)
Please observe the following guidelines:
- Write tests for your contributions.
- Document methods you add using YARD annotations.
- Follow the included style guidelines (i.e. run
rubocop
before committing). - Use well formed commit messages.
Do note that in order for us to merge any non-trivial changes (as a rule of thumb, additions larger than about 15 lines of code), we need an explicit public domain dedication on record from you.
This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying {file:UNLICENSE} file.