Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Date#gregorian
() -> ::Date
gregorian → new_date
ext/date/date_core.c
View on GitHub ↗
static VALUE
d_lite_gregorian(VALUE self)
{
return dup_obj_with_new_start(self, GREGORIAN);
}
Equivalent to Date#new_start with argument Date::GREGORIAN.