32
}
33
35
>
if x > 0 {
37
>
}
40
>
}
42
}
43
44
// Compare 2 Clocks, returns 0 if a == b, -1 if a > b, 1 if a < b
46
>
if a.WallClock == b.WallClock {
49
>
}
51
}
53
}
54
55
// Greater returns true if a is greater than b
57
>
return Compare(b, a) > 0
58
>
}
59
60
// Greater returns true if a is greater than b
62
>
return Compare(a, b) > 0
63
>
}
64
65
// Max returns the maximum of two Clocks