Searched refs:epoch_diff (Results 1 – 3 of 3) sorted by relevance
/aosp_15_r20/external/fonttools/Lib/fontTools/misc/ |
H A D | timeTools.py | 10 epoch_diff = calendar.timegm((1904, 1, 1, 0, 0, 0, 0, 0, 0)) variable 60 return asctime(time.gmtime(max(0, value + epoch_diff))) 69 return int(t.timestamp()) - epoch_diff 76 return int(source_date_epoch) - epoch_diff 77 return int(time.time() - epoch_diff) 81 return int(value - epoch_diff)
|
/aosp_15_r20/external/fonttools/Tests/misc/ |
H A D | timeTools_test.py | 6 epoch_diff, 21 assert timestampNow() + epoch_diff == 150687315 29 assert timestampNow() + epoch_diff != 150687315
|
/aosp_15_r20/external/fonttools/Lib/fontTools/ttLib/tables/ |
H A D | _h_e_a_d.py | 9 from fontTools.misc.timeTools import epoch_diff as mac_epoch_diff # For backward compat
|