Skip to content

Commit

Permalink
fix: Expose DateTime object and add documentation for it.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjw committed Nov 30, 2023
1 parent 8feb9b7 commit 0b1646d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/datetime.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
========
DateTime
========

.. automodule:: i75.datetime
:members:
1 change: 1 addition & 0 deletions i75/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
del picographics

from .colour import Colour # noqa
from .datetime import DateTime # noqa
1 change: 1 addition & 0 deletions i75/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def ticks_diff(t1, t2):


class DateTime:
"""Represents a specific date and a time."""
BASE: int = 0

def __init__(self,
Expand Down

0 comments on commit 0b1646d

Please sign in to comment.