thombashi / DateTimeRange

DateTimeRange is a Python library to handle a time range. e.g. check whether a time is within the time range, get the intersection of time ranges, truncate a time range, iterate through a time range, and so forth.
https://datetimerange.rtfd.io/
MIT License
106 stars 16 forks source link

What is the use of this module #3

Closed rfyiamcool closed 8 years ago

rfyiamcool commented 8 years ago

What is the use of this module?

thombashi commented 8 years ago

This module to simplify the routine work processing of a time range, such as checks whether a certain time is within the time range, get the overlap of the time range to each other or truncate certain time.

I sometimes want to handle the range of a particular time. For example, the execution time of a process/query (time from the start to the end), extract information for a specific time zone, etc.. This module was created in order to reduce the time and effort of these cases.

thombashi commented 8 years ago

I'm going to close this issue, as I update the README which I believe answer to you question. Anyway thanks for the issue.