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

Method naive

src/pendulum/datetime.py:315–327  ·  view source on GitHub ↗

Return the DateTime without timezone information.

(self)

Source from the content-addressed store, hash-verified

313 return Time(self.hour, self.minute, self.second, self.microsecond)
314
315 def naive(self) -> Self:
316 """
317 Return the DateTime without timezone information.
318 """
319 return self.__class__(
320 self.year,
321 self.month,
322 self.day,
323 self.hour,
324 self.minute,
325 self.second,
326 self.microsecond,
327 )
328
329 def on(self, year: int, month: int, day: int) -> Self:
330 """

Callers 15

__sub__Method · 0.80
__rsub__Method · 0.80
test_naiveFunction · 0.80
test_naive_addFunction · 0.80
test_naive_subtractFunction · 0.80
test_naive_in_timezoneFunction · 0.80
test_addFunction · 0.80
test_subtractFunction · 0.80
test_to_stringsFunction · 0.80
test_naive_methodFunction · 0.80
test_subtractionFunction · 0.80

Calls

no outgoing calls

Tested by 14

test_naiveFunction · 0.64
test_naive_addFunction · 0.64
test_naive_subtractFunction · 0.64
test_naive_in_timezoneFunction · 0.64
test_addFunction · 0.64
test_subtractFunction · 0.64
test_to_stringsFunction · 0.64
test_naive_methodFunction · 0.64
test_subtractionFunction · 0.64
test_on_last_transitionFunction · 0.64