Issue 2427: Add interfaces to DTime properly handle the DAmountOfTime difference inter (currency-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: DAmountOfTime difference(in DTime anotherTime) does not support an implementation properly as the difference between two points in time is a DamountOfTime instance and DamountOfTime represents an “absolute (positive) amount of time”. Thus, either DamountOfTime must be able to represent an amount of time that is less than zero, or the following interfaces must be available. · Propose the following additional interfaces: boolean equal(in CBO::Dtime otherObject); void setEqual(in CBO::Dtime otherObject); boolean less(in CBO::Dtime otherObject); boolean lessEqual(in CBO::Dtime otherObject); boolean greater(in CBO::Dtime otherObject); boolean greaterEqual(in CBO::Dtime otherObject); Resolution: Revised Text: Actions taken: January 11, 1999: received issue Discussion: End of Annotations:===== Return-Path: From: Robert_Mickley@CYBORG.COM X-Lotus-FromDomain: CYBORG@CYBORG_NET To: issues@omg.org cc: Robert_Mickley@CYBORG.COM, Amy_Griffis@CYBORG.COM Date: Mon, 11 Jan 1999 21:28:52 -0700 Subject: Currency RTF Issues Content-Disposition: inline Today is the deadline for comments for the Currency RTF. Below is an itemized list of additions to that list. Issue Title: Add interfaces to DTime properly handle the DAmountOfTime difference interface Issue Type: IDL Revision Issue Description: DAmountOfTime difference(in DTime anotherTime) does not support an implementation properly as the difference between two points in time is a DamountOfTime instance and DamountOfTime represents an amount of tiem. Thus, either DamountOfTime must be able to represent an amount of time that is less than zero, or the following interfaces must be available. 7 Propose the following additional interfaces: boolean equal(in CBO::Dtime otherObject); void setEqual(in CBO::Dtime otherObject); boolean less(in CBO::Dtime otherObject); boolean lessEqual(in CBO::Dtime otherObject); boolean greater(in CBO::Dtime otherObject); boolean greaterEqual(in CBO::Dtime otherObject);