Compare this YearMonth is greater than compare
compare
bool operator >(Object compare) => _checkCompreObject(compare) && (compare as YearMonth).compareTo(this) > 0;