auromat.util.time module

auromat.util.time.containsLeapSecond(d1, d2)[source]

Checks whether the given datetime range contains a leap second.

Parameters:
  • d1 (datetime.datetime) – start date
  • d2 (datetime.datetime) – end date
Return type:

bool