method
gregorian?
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
Related methods
- Class methods (100)
-
ajd_to_amjd (<= v1_8_7_330)
-
ajd_to_jd (<= v1_8_7_330)
-
amjd_to_ajd (<= v1_8_7_330)
-
civil
-
civil_to_jd (<= v1_8_7_330)
-
commercial
-
commercial_to_jd (<= v1_8_7_330)
-
complete_frags
-
day_fraction_to_time (<= v1_8_7_330)
-
deprecated_alias
(<= v1_8_7_330)
-
deprecated_class_method_alias
(<= v1_8_7_330)
-
fix_style
(<= v1_8_7_330)
-
gregorian? (<= v1_8_7_330)
-
gregorian_leap?
-
httpdate
-
_httpdate
-
iso8601
-
_iso8601
-
jd
-
jd_to_ajd (<= v1_8_7_330)
-
jd_to_civil (<= v1_8_7_330)
-
jd_to_commercial (<= v1_8_7_330)
-
jd_to_ld (<= v1_8_7_330)
-
jd_to_mjd (<= v1_8_7_330)
-
jd_to_ordinal (<= v1_8_7_330)
-
jd_to_wday (<= v1_8_7_330)
-
jd_to_weeknum
(<= v1_8_7_330)
-
jisx0301
-
_jisx0301
-
json_create
-
julian? (<= v1_8_7_330)
-
julian_leap?
-
ld_to_jd (<= v1_8_7_330)
-
leap?
-
_load (>= v1_8_6_287)
-
mjd_to_jd (<= v1_8_7_330)
-
new
-
new!
-
new_by_frags
-
now
-
nth_kday
-
num_pattern?
-
once
-
ordinal
-
ordinal_to_jd (<= v1_8_7_330)
-
parse
-
_parse
-
_parse_beat
(<= v1_8_6_287)
-
_parse_day
-
_parse_ddd
-
_parse_dot
-
_parse_eu
-
_parse_iso
-
_parse_iso2
-
_parse_jis
-
_parse_mday
-
_parse_mon
-
_parse_sla
-
_parse_sla_eu
(<= v1_8_6_287)
-
_parse_sla_ja
(<= v1_8_6_287)
-
_parse_sla_us
(<= v1_8_6_287)
-
_parse_time
-
_parse_us
-
_parse_vms
-
_parse_year
-
rewrite_frags
-
rfc2822
-
_rfc2822
-
rfc3339
-
_rfc3339
-
rfc822
-
_rfc822
-
s3e
-
strptime
-
_strptime
-
_strptime_i
-
test_all (>= v2_6_3)
-
test_civil (>= v2_6_3)
-
test_commercial (>= v2_6_3)
-
test_nth_kday (>= v2_6_3)
-
test_ordinal (>= v2_6_3)
-
test_unit_conv (>= v2_6_3)
-
test_weeknum (>= v2_6_3)
-
time_to_day_fraction (<= v1_8_7_330)
-
today
-
valid_civil?
-
valid_commercial?
-
valid_date?
-
valid_date_frags?
-
valid_jd?
-
valid_nth_kday?
-
valid_ordinal?
-
valid_time?
-
valid_time_frags?
-
valid_weeknum?
-
weeknum
-
weeknum_to_jd
(<= v1_8_7_330)
-
xmlschema
-
_xmlschema
-
zone_to_diff (<= v1_8_7_330)
- Instance methods (167)
-
<<
-
<=>
-
== (>= v1_9_2_180)
-
===
-
>>
-
-
-
-@ (>= v1_9_2_180)
-
/ (>= v1_9_2_180)
-
* (>= v1_9_2_180)
-
** (>= v1_9_2_180)
-
% (>= v1_9_2_180)
-
+
-
+@ (>= v1_9_2_180)
-
abs (>= v1_9_2_180)
-
ajd
-
ajd_to_amjd
-
ajd_to_jd
-
amjd
-
amjd_to_ajd
-
asctime
-
as_json (>= v1_9_3_125)
-
ceil (>= v1_9_2_180)
-
civil
-
civil_to_jd
-
coerce (>= v1_9_2_180)
-
commercial
-
commercial_to_jd
-
ctime
-
cwday
-
cweek
-
cwyear
-
day
-
day_fraction
-
day_fraction_to_time
-
div (>= v1_9_2_180)
-
divmod (>= v1_9_2_180)
-
downto
-
_dump (<= v1_8_7_330)
-
dx_addsub
(>= v1_9_2_180)
-
dx_conv0
(>= v1_9_2_180)
-
dx_conv1
(>= v1_9_2_180)
-
dx_muldiv
(>= v1_9_2_180)
-
emit
-
emit_a
-
emit_ad
-
emit_au
-
emit_n
-
emit_sn
-
emit_w
-
emit_z
-
england
-
eql?
-
fill (>= v2_6_3)
-
find_fdom
-
find_fdoy
-
find_ldom
-
find_ldoy
-
fix_style
-
floor (>= v1_9_2_180)
-
friday? (>= v1_9_3_125)
-
gregorian
-
gregorian?
-
hash
-
hour
-
httpdate
-
initialize_copy (>= v1_9_3_125)
-
inspect
-
inspect_raw (>= v2_6_3)
-
integer? (>= v1_9_2_180)
-
iso8601
-
italy
-
jd
-
jd_to_ajd
-
jd_to_civil
-
jd_to_commercial
-
jd_to_ld
-
jd_to_mjd
-
jd_to_nth_kday
-
jd_to_ordinal
-
jd_to_wday
-
jd_to_weeknum
-
jisx0301
-
julian
-
julian?
-
ld
-
ld_to_jd
-
leap?
-
marshal_dump
-
marshal_dump_old (>= v2_6_3)
-
marshal_load
-
mday
-
min
-
minute
-
mjd
-
mjd_to_jd
-
modulo (>= v1_9_2_180)
-
mon
-
monday? (>= v1_9_3_125)
-
month
-
new_offset
-
new_start
-
next
-
next_day
-
next_month
-
next_year
-
nth_kday?
-
nth_kday_to_jd
-
offset
-
ordinal
-
ordinal_to_jd
-
prev_day
-
prev_month
-
prev_year
-
quo (>= v1_9_2_180)
-
quotient (>= v1_9_2_180)
-
quotrem (>= v1_9_2_180)
-
remainder (>= v1_9_2_180)
-
rfc2822
-
rfc3339
-
rfc822
-
round (>= v1_9_2_180)
-
saturday? (>= v1_9_3_125)
-
sec
-
sec_fraction
-
second
-
second_fraction
-
start
-
step
-
strftime
-
succ
-
sunday? (>= v1_9_3_125)
-
thursday? (>= v1_9_3_125)
-
time
-
time_to_day_fraction
-
to_c (>= v1_9_2_180)
-
to_date
-
to_datetime
-
to_f (>= v1_9_2_180)
-
to_i (>= v1_9_2_180)
-
to_int (>= v1_9_2_180)
-
to_json
-
to_r (>= v1_9_2_180)
-
to_s
-
to_time
-
to_yaml
-
truncate (>= v1_9_2_180)
-
tuesday? (>= v1_9_3_125)
-
upto
-
_valid_civil?
-
_valid_commercial?
-
_valid_jd?
-
_valid_nth_kday?
-
_valid_ordinal?
-
_valid_time?
-
_valid_weeknum?
-
wday
-
wednesday? (>= v1_9_3_125)
-
weeknum0
-
weeknum1
-
weeknum_to_jd
-
wnum0
-
wnum1
-
xmlschema
-
yday
-
year
-
zone
-
zone_to_diff
= private
= protected
gregorian?()
public
Is the current date new-style (Gregorian Calendar)?
Show source
# File lib/date.rb, line 1274 def gregorian? () !julian? end