Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nerohmot authored Feb 18, 2021
1 parent 0d3f7fb commit 23e28a1
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
# Semi-ATE's STDF library
# Semi-ATE's Date & Time library

**STDF** stands for **S**tandard **T**est **D**ata **F**ormat
[![GitHub](https://img.shields.io/github/license/Semi-ATE/STDF?color=black)](https://github.com/Semi-ATE/STDF/blob/main/LICENSE)
[![Conda](https://img.shields.io/conda/pn/conda-forge/Semi-ATE-STDF?color=black)](https://anaconda.org/conda-forge/Semi-ATE-STDF)
![Supported Python versions](https://img.shields.io/badge/python-%3E%3D3.7-black)

[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/Semi-ATE/STDF/blob/main/LICENSE)
![Python >= 3.7](https://img.shields.io/badge/Python-%3E%3D3.7-blue)
[![CI](https://github.com/Semi-ATE/STDF/workflows/CI/badge.svg?branch=main)](https://github.com/Semi-ATE/STDF/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/Semi-ATE/STDF/branch/main/graph/badge.svg?token=BAP0H9OMED)](https://codecov.io/gh/Semi-ATE/STDF)
[![CD](https://github.com/Semi-ATE/STDF/workflows/CD/badge.svg)](https://github.com/Semi-ATE/STDF/actions?query=workflow%3ACD)

[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/Semi-ATE/STDF?color=blue&label=GitHub&sort=semver)](https://github.com/Semi-ATE/STDF/releases/latest)
[![PyPI](https://img.shields.io/pypi/v/Semi-ATE-STDF?color=blue&label=PyPI)](https://pypi.org/project/Semi-ATE-STDF/)
![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/Semi-ATE-STDF?color=blue&label=conda-forge)





# Installation

## Stand alone
Expand Down Expand Up @@ -48,17 +45,24 @@ $ pip install Semi-ATE
# Usage examples

```python
from Semi_ATE.DT import DT, DTD
from Semi_ATE.DT import DT, TD

now = DT()
print(f"UTC time = {now}")
print(f"local time = {DT(now.local()}")
print(f"timezone = {now.tz}")
print(f"daylight savings time = {now.dst}")
print(f"begin of week = {DT(now.bow())}")
print(f"end of week = {DT(now.eow()}")
print(f"begin of day = {DT(now.bod()}")
print(f"end of day = {DT(now.eod()}")
bow = DT(now.bow())
print(f"begin of week = {bow}")
eow = DT(now.eow()
print(f"end of week = {eow}")
bod = DT(now.bod())
print(f"begin of day = {bod}")
eod = DT(now.eod()
print(f"end of day = {eod}")



```


Expand Down

0 comments on commit 23e28a1

Please sign in to comment.