Canonical returns UTC time with no monotonic component. Stripping the monotonic component is for time equality. See https://github.com/tendermint/tendermint/pull/2203#discussion_r215064334
Now returns the current time in UTC with no monotonic component.
WeightedMedian computes weighted median time for a given array of WeightedTime and the total voting power.
WeightedTime for computing a median.
NewWeightedTime with time and weight.