Check if duration is less than or equal to another
bool operator <=(Duration other) => inMilliseconds <= other.inMilliseconds;