note
	description: "Representation of a date at C level"
	legal: "See notice at end of class."
	status: "See notice at end of class."
	date: "$Date: 2016-11-28 03:57:18 +0000 (Mon, 28 Nov 2016) $"
	revision: "$Revision: 99541 $"

class interface
	C_DATE

create 
	default_create,
	make_utc

feature -- Access

	is_utc: BOOLEAN
			-- Is Current holding value in UTC format?
	
feature -- Update

	update
			-- Pointer to struct tm area.
	
feature -- Status

	year_now: INTEGER_32
			-- Current year at creation time or after last call to update.
		ensure
			year_valid: Result >= 1900

	month_now: INTEGER_32
			-- Current month at creation time or after last call to update.
		ensure
			month_valid: Result >= 1 and Result <= 12

	day_now: INTEGER_32
			-- Current day at creation time or after last call to update.
		ensure
			day_valid: Result >= 1 and Result <= 31

	hour_now: INTEGER_32
			-- Current hour at creation time or after last call to update.
		ensure
			hour_valid: Result >= 0 and Result <= 23

	minute_now: INTEGER_32
			-- Current minute at creation time or after last call to update.
		ensure
			minute_valid: Result >= 0 and Result <= 59

	second_now: INTEGER_32
			-- Current second at creation time or after last call to update.
		ensure
			second_valid: Result >= 0 and Result <= 59

	millisecond_now: INTEGER_32
			-- Current millisecond at creation time or after last call to update.

	microseconds_now: INTEGER_32
			-- Current microseconds (includes milliseconds)
	
note
	copyright: "Copyright (c) 1984-2016, 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 C_DATE

Generated by ISE EiffelStudio