def initialize(start_month, *args)
@start_month = start_month
if (args.nil? || args.size == NO_DAY) then
@end_month = start_month
@start_day = NO_DAY
@end_day = NO_DAY
else
case args.size
when 1
@end_month = args[0]
@start_day = NO_DAY
@end_day = NO_DAY
when 2
@start_day = args[0]
@end_month = args[1]
@end_day = NO_DAY
when 3
@start_day = args[0]
@end_month = args[1]
@end_day = args[2]
else
raise "Invalid number of var args: 1 or 3 expected, #{args.size} given"
end
end
@same_month_dates_provided = (@start_month == @end_month) && (@start_day!=NO_DAY && @end_day != NO_DAY)
end