Compute the total number of microseconds of a datetime.timedelta. Parameters ---------- delta : datetime.timedelta Input timedelta. Returns ------- int
(delta)
| 840 | |
| 841 | |
| 842 | def _total_microseconds(delta): |
| 843 | """Compute the total number of microseconds of a datetime.timedelta. |
| 844 | |
| 845 | Parameters |
| 846 | ---------- |
| 847 | delta : datetime.timedelta |
| 848 | Input timedelta. |
| 849 | |
| 850 | Returns |
| 851 | ------- |
| 852 | int |
| 853 | """ |
| 854 | return delta / timedelta(microseconds=1) |
| 855 | |
| 856 | |
| 857 | def _floor_int(values, unit): |
no outgoing calls
no test coverage detected
searching dependent graphs…