INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Simple Timestamp"
project: "The Universal Time & Date UTDC"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: timedate
deferred class SIMPLE_TIMESTAMP
inherit

COMPARABLE
end

TIME_SERVER
undefine
is_equal
end
feature -- Commands

clear
-- Reset to the default value

set_to_now
-- Set to the current Coordinated Universal Time (UTC)

set_local_time
-- Set to the current local time
feature -- Queries

difference (ts: like Current): SIMPLE_DURATION
-- Duration between the current and other time stamps

infix "+", plus (d: SIMPLE_DURATION): SIMPLE_TIMESTAMP

infix "-", minus (d: SIMPLE_DURATION): SIMPLE_TIMESTAMP
end -- class SIMPLE_TIMESTAMP

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES