summaryrefslogtreecommitdiff
path: root/test/test_duration.py
Commit message (Collapse)AuthorAgeFilesLines
* blacked all python filesNicholas Car2020-05-161-3/+5
|
* a slightly opinionated autopep8 runGunnar Aastrand Grimnes2018-10-301-0/+1
| | | | | | | | opinions is mainly: no to long lines, but not at any cost. notation3.py crashses autopep :D Also rdflib/__init__.py gets completely broken
* Adds basic support of xsd:durationTpt2018-02-111-0/+43
Uses isodate.parse_duration that converts a duration ISO string to timedelta if possible and if not fallbacks to its Duration type. Supports also xsd:yearMonthDuration and xsd:dayTimeDuration xsd:dayTimeDuration is the exact match of the set of durations supported by timedelta