method
round
ruby latest stable - Class:
Date
Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.
round()public
No documentation available.
# File lib/date/delta.rb, line 372
def round() dx_conv0(:round) end Related methods
- Instance methods
- %
- *
- **
- +
- +@
- -
- -@
- /
- <<
- <=>
- ==
- ===
- >>
- _valid_civil?
- _valid_commercial?
- _valid_jd?
- _valid_nth_kday?
- _valid_ordinal?
- _valid_time?
- _valid_weeknum?
- abs
- ajd
- ajd_to_amjd
- ajd_to_jd
- amjd
- amjd_to_ajd
- asctime
- ceil
- civil_to_jd
- coerce
- commercial_to_jd
- ctime
- cwday
- cweek
- cwyear
- day
- day_fraction
- day_fraction_to_time
- div
- divmod
- downto
- england
- eql?
- find_fdom
- find_fdoy
- find_ldom
- find_ldoy
- floor
- gregorian
- gregorian?
- hash
- hour
- httpdate
- inspect
- 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_load
- mday
- min
- minute
- mjd
- mjd_to_jd
- modulo
- mon
- month
- new_offset
- new_start
- next
- next_day
- next_month
- next_year
- nth_kday_to_jd
- offset
- ordinal_to_jd
- prev_day
- prev_month
- prev_year
- quo
- quotient
- quotrem
- remainder
- rfc2822
- rfc3339
- rfc822
- round
- sec
- sec_fraction
- second
- second_fraction
- start
- step
- strftime
- succ
- time_to_day_fraction
- to_c
- to_date
- to_datetime
- to_f
- to_i
- to_int
- to_json
- to_r
- to_s
- to_time
- truncate
- upto
- wday
- weeknum_to_jd
- xmlschema
- yday
- year
- zone
- zone_to_diff
- Class methods
- _httpdate
- _iso8601
- _jisx0301
- _parse
- _rfc2822
- _rfc3339
- _rfc822
- _strptime
- _xmlschema
- civil
- commercial
- gregorian_leap?
- httpdate
- iso8601
- jd
- jisx0301
- json_create
- julian_leap?
- leap?
- new
- new
- new!
- ordinal
- parse
- rfc2822
- rfc3339
- rfc822
- strptime
- today
- valid_civil?
- valid_commercial?
- valid_date?
- valid_jd?
- valid_ordinal?
- xmlschema
- Private methods
- private_parse_day
- private_parse_ddd
- private_parse_dot
- private_parse_eu
- private_parse_iso
- private_parse_iso2
- private_parse_jis
- private_parse_mday
- private_parse_mon
- private_parse_sla
- private_parse_time
- private_parse_us
- private_parse_vms
- private_parse_year
- private_strptime_i
- privatecomplete_frags
- privatenew_by_frags
- privatenow
- privatenth_kday
- privatenum_pattern?
- privateonce
- privaterewrite_frags
- privates3e
- privatevalid_date_frags?
- privatevalid_nth_kday?
- privatevalid_time?
- privatevalid_time_frags?
- privatevalid_weeknum?
- privateweeknum
- privatecivil
- privatecommercial
- privatedx_addsub
- privatedx_conv0
- privatedx_conv1
- privatedx_muldiv
- privateemit
- privateemit_a
- privateemit_ad
- privateemit_au
- privateemit_n
- privateemit_sn
- privateemit_w
- privateemit_z
- privatefix_style
- privatenth_kday?
- privateordinal
- privatetime
- privateweeknum0
- privateweeknum1
- privatewnum0
- privatewnum1