dateTimePrecision top-level property

Parser<String> dateTimePrecision
final

Implementation

final Parser<String> dateTimePrecision = (string('year') |
        string('month') |
        string('week') |
        string('day') |
        string('hour') |
        string('minute') |
        string('second') |
        string('millisecond'))
    .flatten();