Timetokens are compared based on their value.
@override bool operator ==(Object other) { if (other is Timetoken) { return value == other.value; } else { return value == other; } }