Skip to main content

scale_time

Function scale_time 

Source
fn scale_time(t: Time, divisor: u128) -> Time
Expand description

Rescales a raw time stamp from the source’s timescale to the export’s timescale, given the precomputed divisor 10.pow(time_scale_shift) (see common_power_of_ten).