Skip to main content

New date and time classes

Project description

The datetime2 module provides new classes date and time classes.

This module will provide date and time classes, as the original datetime module does. However, the new classes on the one hand will separate date and time handling from their representation, on the other hand they will provide new calendars and time measurement systems.

Code is hosted at GitHub: see that page for development information.

Project objectives

  • Decoupling between operations on date and time objects and their representation.

  • Access to different calendars, for input parsing and output formatting.

  • Access to different time representation systems, also for input and output.

  • Ability to dynamically load new formatting classes.

  • Internationalization.

  • Implementation of the part of the Unicode Locale Database concerned with dates and times.

  • Interface with other Python modules or inclusion of their functionalities in its submodules.

License

Datetime2 is distributed under the terms of the new BSD license. You are free to use it for commercial or non-commercial projects with little or no restriction, all we ask is that:

Redistributions of the code, in whole or part, retain the original copyright notice and license text. You do not claim our endorsement of any derived product.

For a complete text of the license see the LICENSE.txt file in the source distribution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datetime2-0.1.1.zip (8.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page