note legal: "See notice at end of class." status: "See notice at end of class." class ADD_WEEK inherit COMMAND_DATE feature -- Access execute (d: DATE): DATE -- Add `i' weeks to the date `d' do Result := d; print (display_help); io.readint; Result.day_add (io.lastint * d.days_in_week) end; display_help: STRING do Result := "Enter the amount of weeks to add: " end; note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class ADD_WEEK