1 pyutils.datetimez package
2 =========================
7 pyutils.datetimez.constants module
8 ----------------------------------
10 A set of date and time related constants.
12 .. automodule:: pyutils.datetimez.constants
17 pyutils.datetimez.dateparse\_utils module
18 -----------------------------------------
20 The dateparse\_utils.DateParser class uses an English language grammar
21 (see dateparse\_utils.g4) to parse free form English text into a Python
22 datetime. It can handle somewhat complex constructs such as: "20 days
23 from next Wed at 3pm", "last Christmas", and "The 2nd Sunday in May,
24 2022". See the dateparse_utils_test.py for more examples.
26 This code is used by other code in the pyutils library; for example,
27 when using argparse_utils.py to pass an argument of type datetime it
28 allows the user to use free form english expressions.
30 .. automodule:: pyutils.datetimez.dateparse_utils
35 pyutils.datetimez.dateparse\_utilsLexer module
36 ----------------------------------------------
38 This code is auto-generated by ANTLR from the dateparse\_utils.g4
41 .. automodule:: pyutils.datetimez.dateparse_utilsLexer
46 pyutils.datetimez.dateparse\_utilsListener module
47 -------------------------------------------------
49 This code is auto-generated by ANTLR from the dateparse\_utils.g4
52 .. automodule:: pyutils.datetimez.dateparse_utilsListener
57 pyutils.datetimez.dateparse\_utilsParser module
58 -----------------------------------------------
60 This code is auto-generated by ANTLR from the dateparse\_utils.g4
63 .. automodule:: pyutils.datetimez.dateparse_utilsParser
68 pyutils.datetimez.datetime\_utils module
69 ----------------------------------------
71 This is a set of utilities for dealing with Python datetimes and
72 dates. It supports operations such as checking timezones,
73 manipulating timezones, easy formatting, and using offsets with
76 .. automodule:: pyutils.datetimez.datetime_utils
84 This module contains utilities for dealing with Python datetimes.
86 .. automodule:: pyutils.datetimez