note
	description: "Values of date"
	legal: "See notice at end of class."
	status: "See notice at end of class."
	date: "$Date: 2017-03-29 12:26:46 +0000 (Wed, 29 Mar 2017) $"
	revision: "$Revision: 100065 $"
	access: date

class interface
	DATE_VALUE

create 
	default_create

feature -- Access

	day: INTEGER_32
			-- Day of the current object

	month: INTEGER_32
			-- Month of the current object

	year: INTEGER_32
			-- Year of the current object

	ordered_compact_date: INTEGER_32
			-- Year, month, day coded for fast comparison between dates.
	
feature -- Element change

	set_date (y, m, d: INTEGER_32)
			-- Set year with y, month with m and day with d.

	set_day (d: INTEGER_32)
			-- Set day to d.

	set_month (m: INTEGER_32)
			-- Set month to m.

	set_year (y: INTEGER_32)
			-- Set year to y.

	set_internal_ordered_compact_date (a_ordered_compact_date: like ordered_compact_date)
			-- Set a_ordered_compact_date to ordered_compact_date.
		ensure
			ordered_compact_date_set: ordered_compact_date = a_ordered_compact_date
	
feature -- Correction

	correct_mismatch
			-- Attempt to correct object mismatch using Mismatch_information.
	
note
	copyright: "Copyright (c) 1984-2017, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		5949 Hollister Ave., 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 DATE_VALUE

Generated by ISE EiffelStudio