diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-18 23:19:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-18 23:19:47 +0000 |
commit | 92f0be2037b5f51861e8b7fdf763a343bb564c10 (patch) | |
tree | d02d61890bba782751e4852a56fc43577201742d /lib/date.rb | |
parent | e5eb4590894ced3bb4c676538e1b52af9c0daf11 (diff) |
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
lib/test/unit/testsuite.rb: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/date.rb')
-rw-r--r-- | lib/date.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/date.rb b/lib/date.rb index fabdc5bdc7..b50e987852 100644 --- a/lib/date.rb +++ b/lib/date.rb @@ -28,7 +28,7 @@ # In common usage, the date is reckoned in years since or # before the Common Era (CE/BCE, also known as AD/BC), then # as a month and day-of-the-month within the current year. -# This is known as the *Civil* *Date*, and abbrevated +# This is known as the *Civil* *Date*, and abbreviated # as +civil+ in the Date class. # # Instead of year, month-of-the-year, and day-of-the-month, @@ -239,7 +239,7 @@ class Date # Full names of days of the week, in English. Days of the week # count from 0 to 6 (except in the commercial week); a day's numerical - # represenation indexed into this array gives the name of that day. + # representation indexed into this array gives the name of that day. DAYNAMES = %w(Sunday Monday Tuesday Wednesday Thursday Friday Saturday) # Abbreviated month names, in English. @@ -442,7 +442,7 @@ class Date # Astronomical Julian Day Number. def self.amjd_to_ajd(amjd) amjd + 4800001.to_r/2 end - # Convert an Astronimcal Julian Day Number to an + # Convert an Astronomical Julian Day Number to an # Astronomical Modified Julian Day Number. def self.ajd_to_amjd(ajd) ajd - 4800001.to_r/2 end @@ -622,7 +622,7 @@ class Date jd end - # Create a new Date object for the Commercial Date specifed by + # Create a new Date object for the Commercial Date specified by # year +y+, week-of-year +w+, and day-of-week +d+. # # Monday is day-of-week 1; Sunday is day-of-week 7. |