Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/aniso8601/resolution.py: 100%
9 statements
« prev ^ index » next coverage.py v7.2.2, created at 2023-03-26 06:03 +0000
« prev ^ index » next coverage.py v7.2.2, created at 2023-03-26 06:03 +0000
1# -*- coding: utf-8 -*-
3# Copyright (c) 2021, Brandon Nielsen
4# All rights reserved.
5#
6# This software may be modified and distributed under the terms
7# of the BSD license. See the LICENSE file for details.
9from aniso8601 import compat
12class DateResolution(object):
13 Year, Month, Week, Weekday, Day, Ordinal = list(compat.range(6))
16class DurationResolution(object):
17 Years, Months, Weeks, Days, Hours, Minutes, Seconds = list(compat.range(7))
20class IntervalResolution(object):
21 Year, Month, Week, Weekday, Day, Ordinal, Hours, Minutes, Seconds = list(
22 compat.range(9)
23 )
26class TimeResolution(object):
27 Seconds, Minutes, Hours = list(compat.range(3))