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