Metadata-Version: 1.1
Name: int-date
Version: 0.1.2
Summary: Utility for int date like 20150312.
Home-page: http://github.com/jealous/int_date
Author: Cedric Zhuang
Author-email: cedric.zhuang@gmail.com
License: BSD
Description: Integer Date utilities

        ======================

        

        |Build Status| |Coverage Status|

        

        Utilities to process the integer format date like: 20150301 First four

        digits are year. Next two are month. Last two are date.

        

        To file issue, please visit:

        

        httsp://github.com/jealous/int\_date

        

        Documentation for the package is available at:

        

        http://int-date.readthedocs.org/en/latest/int\_date.html

        

        Contact author:

        

        cedric.zhuang@gmail.com

        

        Example

        =======

        

        ::

        

            >>> to_int_date('2015-11-02')

            20151102

        

            >>> get_int_day_interval(19831102, 20141225)

            11376

        

            >>> get_date_from_int(19831102)

            datetime.date(1983, 11, 2)

        

            >>> today()

            20150827

        

            >>> in_year(20150412, 2013)

            False

        

            >>> in_month(20150412, 4)

            True

        

            >>> in_date(20150412, 2)

            False

        

        .. |Build Status| image:: https://travis-ci.org/jealous/int_date.svg?branch=master

           :target: https://travis-ci.org/jealous/int_date

        .. |Coverage Status| image:: https://coveralls.io/repos/jealous/int_date/badge.svg?branch=master&service=github

           :target: https://coveralls.io/github/jealous/int_date?branch=master

        
Keywords: date integer
Platform: any
Classifier: Programming Language :: Python
Classifier: Natural Language :: English
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License
