__init__.py 704 B

1234567891011121314151617181920212223242526
  1. # -*- coding: utf-8 -*-
  2. # Copyright (c) 2021, Brandon Nielsen
  3. # All rights reserved.
  4. #
  5. # This software may be modified and distributed under the terms
  6. # of the BSD license. See the LICENSE file for details.
  7. from aniso8601.date import get_date_resolution, parse_date
  8. from aniso8601.duration import get_duration_resolution, parse_duration
  9. from aniso8601.interval import (
  10. get_interval_resolution,
  11. get_repeating_interval_resolution,
  12. parse_interval,
  13. parse_repeating_interval,
  14. )
  15. # Import the main parsing functions so they are readily available
  16. from aniso8601.time import (
  17. get_datetime_resolution,
  18. get_time_resolution,
  19. parse_datetime,
  20. parse_time,
  21. )
  22. __version__ = "9.0.1"