Sha256: a0b7a497abd9f146f2560cc7e81e258cd938ae923af0842349b5f05dbb8d3dc9

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

RDF::EDTF
=========

This is an `RDF::Literal` implementation around
[Extended Date Time Format](http://www.loc.gov/standards/datetime/pre-submission.html).

The underlying EDTF parser and implementation is provided by
[`edtf-ruby`](https://github.com/inukshuk/edtf-ruby/). The parser supports all
EDTF features, with caveats noted below.

Usage
-----

```ruby
require 'rdf/edtf'

RDF::EDTF::Literal.new('1076?')
# or
RDF::Literal('1076?', datatype: RDF::EDTF::Literal::DATATYPE)
```

Contribution Guidelines
-----------------------

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.

License
-------

This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying {file:UNLICENSE} file.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rdf-edtf-1.1.0 README.md
rdf-edtf-1.0.0 README.md