class EL_TIME_FACTORY

(source code)

description

Factory to create items conforming to TIME

notes

A factory to create an instance of this factory for a type conforming to TIME is accessible via {EL_SHARED_FACTORIES}.Time_factory.

note
	description: "Factory to create items conforming to ${TIME}"
	notes: "[
		A factory to create an instance of this factory for a type conforming to ${TIME}
		is accessible via ${EL_SHARED_FACTORIES}.Time_factory.
	]"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2024-04-04 14:57:28 GMT (Thursday 4th April 2024)"
	revision: "7"

class
	EL_TIME_FACTORY [G -> TIME create make_by_seconds end]

inherit
	EL_FACTORY [G]

feature -- Access

	new_item: G
		do
			create Result.make_by_seconds (0)
		end

end