Skip to main content

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


Download files

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

Source Distribution

datefactory-1.0.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datefactory-1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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

Hashes for datefactory-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c7cad39c26a890e553b4572c7f5e6d96fdeb08aeab6f3a05a9eb4e6e0251eb3b
MD5 e11bafffcef296f10a68f0ff23b45ab0
BLAKE2b-256 13c050a35295d4948786515652d051c59d3c574f9b99c8365bc80574630dc0f9

See more details on using hashes here.

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

Hashes for datefactory-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5053355fea607100c22c249755925698668b34b2c3adeeb1ea618dd563739bf
MD5 e78c1309e3fa483ddeee6cacb1aae529
BLAKE2b-256 c678fea3d10f0a40d45f95db8fb51e1ae5ccc70b7fb5e3f44a61d88b91fc20ee

See more details on using hashes here.

Supported by

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