示例#1
0
	bool operator >=(Time left, Time right)
	{
		return left.AsMicroseconds() >= right.AsMicroseconds();
	}
示例#2
0
	bool operator <(Time left, Time right)
	{
		return left.AsMicroseconds() < right.AsMicroseconds();
	}
示例#3
0
bool operator ==(const Time& left, const Time& right)
{
    return left.AsMicroseconds() == right.AsMicroseconds();
}
示例#4
0
Time operator /(const Time& left, Int64 right)
{
    return Microseconds(left.AsMicroseconds() / right);
}
示例#5
0
Time operator -(const Time& left, const Time& right)
{
    return Microseconds(left.AsMicroseconds() - right.AsMicroseconds());
}
示例#6
0
Time operator -(const Time& right)
{
    return Microseconds(-right.AsMicroseconds());
}