MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / time

Function time

src/pendulum/__init__.py:195–199  ·  view source on GitHub ↗

Create a new Time instance.

(hour: int, minute: int = 0, second: int = 0, microsecond: int = 0)

Source from the content-addressed store, hash-verified

193
194
195def time(hour: int, minute: int = 0, second: int = 0, microsecond: int = 0) -> Time:
196 """
197 Create a new Time instance.
198 """
199 return Time(hour, minute, second, microsecond)
200
201
202@overload

Callers 15

_parse_commonFunction · 0.85
test_combineFunction · 0.85
dFunction · 0.85
test_tznameFunction · 0.85
test_equal_to_trueFunction · 0.85
test_equal_to_falseFunction · 0.85
test_greater_than_trueFunction · 0.85
test_greater_than_falseFunction · 0.85

Calls 1

TimeClass · 0.90

Tested by 15

test_combineFunction · 0.68
dFunction · 0.68
test_tznameFunction · 0.68
test_equal_to_trueFunction · 0.68
test_equal_to_falseFunction · 0.68
test_greater_than_trueFunction · 0.68
test_greater_than_falseFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…