Commits
Click on a commit to change the comparison rangeImplement datetime timezone constraints
This implements support for constraining datetime objects based on them
having or not having timezone info. The aware kind constrains to objects
that have timezone info, and symmetrically, the naive kind constrains to
objects that do not have timezone info.
In addition to testing the constraints individually, a test is added
to assert the property that all datetime objects are either aware or
naive, but never both.2 years ago
by antonagestam Implement datetime timezone constraints
This implements support for constraining datetime objects based on them
having or not having timezone info. The aware kind constrains to objects
that have timezone info, and symmetrically, the naive kind constrains to
objects that do not have timezone info.2 years ago
by antonagestam Implement datetime timezone constraints
This implements support for constraining datetime objects based on them
having or not having timezone info. The aware kind constrains to objects
that have timezone info, and symmetrically, the naive kind constrains to
objects that do not have timezone info.
In addition to testing the constraints individually, a test is added
to assert the property that all datetime objects are either aware or
naive, but never both.2 years ago
by antonagestam Implement datetime timezone constraints
This implements support for constraining datetime objects based on them
having or not having timezone info. The aware kind constrains to objects
that have timezone info, and symmetrically, the naive kind constrains to
objects that do not have timezone info.
In addition to testing the constraints individually, a test is added
to assert the property that all datetime objects are either aware or
naive, but never both.2 years ago
by antonagestam