method
jd_to_ld
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
v1_9_2_180 -
Show latest stable
-
0 notes -
Class: Date
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (0)
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
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)
-
<<
-
<=>
-
==
-
===
-
>>
-
-
-
-@
-
/
-
*
-
**
-
%
-
+
-
+@
-
abs
-
ajd
-
ajd_to_amjd
-
ajd_to_jd
-
amjd
-
amjd_to_ajd
-
asctime
-
as_json (>= v1_9_3_125)
-
ceil
-
civil
-
civil_to_jd
-
coerce
-
commercial
-
commercial_to_jd
-
ctime
-
cwday
-
cweek
-
cwyear
-
day
-
day_fraction
-
day_fraction_to_time
-
div
-
divmod
-
downto
-
_dump (<= v1_8_7_330)
-
dx_addsub
-
dx_conv0
-
dx_conv1
-
dx_muldiv
-
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
-
friday? (>= v1_9_3_125)
-
gregorian
-
gregorian?
-
hash
-
hour
-
httpdate
-
initialize_copy (>= v1_9_3_125)
-
inspect
-
inspect_raw (>= v2_6_3)
-
integer?
-
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
-
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
-
quotient
-
quotrem
-
remainder
-
rfc2822
-
rfc3339
-
rfc822
-
round
-
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
-
to_date
-
to_datetime
-
to_f
-
to_i
-
to_int
-
to_json
-
to_r
-
to_s
-
to_time
-
to_yaml (<= v1_9_1_378)
-
truncate
-
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
jd_to_ld(jd)
public
Convert a Julian Day Number to the number of days since the adoption of the Gregorian Calendar (in Italy).
Show source
# File lib/date.rb, line 564 def jd_to_ld(jd) jd - LD_EPOCH_IN_CJD end