lib/vpim/date.rb in vpim-0.604 vs lib/vpim/date.rb in vpim-0.619
- old
+ new
@@ -59,11 +59,11 @@
# Create a new Date object for the date specified by year +year+, month
# +mon+, and day-of-the-week +wday+.
#
# The nth, +n+, occurrence of +wday+ within the period will be generated
- # (+n+ defaults to 1). If +n+ is positive, the nth occurence from the
+ # (+n+ defaults to 1). If +n+ is positive, the nth occurrence from the
# beginning of the period will be returned, if negative, the nth occurrence
# from the end of the period will be returned.
#
# The period is a year, unless +month+ is non-nil, in which case it is just
# that month.
@@ -152,10 +152,10 @@
# Generate an array of dates on +wday+ (the day-of-week,
# 0-6, where 0 is Sunday).
#
# If +n+ is specified, only the nth occurrence of +wday+ within the period
- # will be generated. If +n+ is positive, the nth occurence from the
+ # will be generated. If +n+ is positive, the nth occurrence from the
# beginning of the period will be returned, if negative, the nth occurrence
# from the end of the period will be returned.
#
# The period is a year, unless +month+ is non-nil, in which case it is just
# that month.