1# -*- coding: utf-8 -*-
2
3# Copyright (c) 2025, 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.
8
9from aniso8601 import compat
10
11
12class DateResolution(object):
13 Year, Month, Week, Weekday, Day, Ordinal = list(compat.range(6))
14
15
16class DurationResolution(object):
17 Years, Months, Weeks, Days, Hours, Minutes, Seconds = list(compat.range(7))
18
19
20class IntervalResolution(object):
21 Year, Month, Week, Weekday, Day, Ordinal, Hours, Minutes, Seconds = list(
22 compat.range(9)
23 )
24
25
26class TimeResolution(object):
27 Seconds, Minutes, Hours = list(compat.range(3))