Issue 2391: IDL Changes to support date ranges on ExchangeRateValue (currency-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: Propose the addition of the following interface(s): void setDateRange(in CBO::Dtime beginDateTime, in CBO::Dtime endDateTime) – Sets the window in time over which the ExchangeRate instance is valid. CBO::Dtime getStartDate() – Returns the date and time at which the ExchangeRate took effect. CBO::Dtime getEndDate() – Returns the date and time at which the ExchangeRate is no longer valid. Will also need an appropriate exception to throw when the date range is attempted to be set and beginDateTime >= endDateTime. Do not think that the beginDateTime should be allowed to be equal to the endDateTime as that then means that the ExchangeRate is valid for zero seconds. Resolution: resolved by Currency 2 RTF Revised Text: Resolution: Incorporate changes in the spec to allow for date specific exchange rates, adding new methods for setting and getting the effective dates. Revised Text: In section 2.3.8 add the following text after value ExchangeRate: Effective Date Range Void setDateRange(in CBO::DTime beginDateTime, in CBO::DTime endDateTime) raises(FbcException); Sets the window in time over which the given exchange rate is valid. An exception will be raised if the given beginDateTime is greater than or equal to the endDateTime. CBO::DTime getStartDate() raises (FbcException); CBO::DTime getEndDate() raises(FbcException); The start date/time of an exchange rate is the date and time in which it took affect for the exchange rate's source/target currency mnemonics and rate type. The end date/time is the date and time after which the exchange rate is no longer valid. Revised idl: In Appendix A add the following idl to the ExchangeRate value before the exchange operation: Void setDateRange(in CBO::DTime beginDateTime, in CBO::DTime endDateTime) raises(FbcException); CBO::DTime getStartDate() raises (FbcException); CBO::DTime getEndDate() raises(FbcException); Add to the init method after conversionFactor: in CBO::DTime beginDateTime, in CBO::DTime endDateTime) Actions taken: January 11, 1999: received issue May 4, 2000: closed 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: IDL Changes to support date ranges on ExchangeRateValue Issue Type: IDL Revision Issue Description: Propose the addition of the following interface(s): void setDateRange(in CBO::Dtime beginDateTime, in CBO::Dtime endDateTime) urns the date and time at which the ExchangeRate is no longer valid. Will also need an appropriate exception to throw when the date range is attempted to be set and beginDateTime >= endDateTime. Do not think that the beginDateTime should be allowed to be equal to the endDateTime as that then means that the ExchangeRate is valid for zero seconds.