Date Handling
Project description
Dates
Package to help with date creation, comparison and calculation
Getting Started
Import package and use the following methods:
isWeekendDay(day)
isMonday(day)
isFriday(day)
isLastDayOfMonth(day)
lastDayOfMonth(day)
createDatetimeObj(day, month, year, hour=0, min=0, sec=0)
addDaysToDate(date, numberOfDays)
Prerequisites
Working python3 installation
Installing
pip install datefactory
Running the tests
python3 test.py
Deployment
[See installation above]
Built With
Python3
Versioning
Author(s)
- Niall Stapleton - Initial work - (@nstap)
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datefactory-1.0.1.tar.gz.
File metadata
- Download URL: datefactory-1.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7cad39c26a890e553b4572c7f5e6d96fdeb08aeab6f3a05a9eb4e6e0251eb3b
|
|
| MD5 |
e11bafffcef296f10a68f0ff23b45ab0
|
|
| BLAKE2b-256 |
13c050a35295d4948786515652d051c59d3c574f9b99c8365bc80574630dc0f9
|
File details
Details for the file datefactory-1.0.1-py3-none-any.whl.
File metadata
- Download URL: datefactory-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5053355fea607100c22c249755925698668b34b2c3adeeb1ea618dd563739bf
|
|
| MD5 |
e78c1309e3fa483ddeee6cacb1aae529
|
|
| BLAKE2b-256 |
c678fea3d10f0a40d45f95db8fb51e1ae5ccc70b7fb5e3f44a61d88b91fc20ee
|