summaryrefslogtreecommitdiff
path: root/lib/date.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-18 23:20:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-18 23:20:33 +0000
commit6c30c6be3a0fd842e7c2c0c1b8c89334b927851c (patch)
tree5a7efff74ded1778e728c9d1d410e148141cb9d6 /lib/date.rb
parent84aba62199d5cc0a5323d6356fc75e13aaa31e10 (diff)
* dln.c, io.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/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/branches/ruby_1_8@6179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/date.rb')
-rw-r--r--lib/date.rb8
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.