Issue 2385: Legal value ranges for numerics in CurrencyValue init should be discussed (currency-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: Can the short numericCode presented to init() and setNumericCode() be <= 0? What are its legal values? Can the short ratioOfFractionToWhole provided to init() and setRatioOfFractionToWhole() be <= 1? What are acceptable values? Can the point in time represented by introductionDate be >= expirationDate in init() and setExpirationDate()/setIntroductionDate()? Resolution: close issue, resolved by Currency 2 RTF Revised Text: Resolution: Add text to the spec. indicating the valid values for numericCode. Revised Text: In section 2.3.6.1 After this paragraph: "The currency mnemonic, numeric code, and name are all unique identifiers of the currency. The ISO 4217:1995 standard defines name, numeric code, and mnemonic for each of the ISO currencies. Users creating non-ISO currencies will need to maintain the uniqueness of the name, numeric code, and mnemonic. The mnemonic is used by money to identify the currency associated with the money." Add: The numeric code must be greater than zero or an FbcException will be raised. 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: Legal value ranges for numerics in CurrencyValue init should be discussed Issue Type: Text Revision Issue Description: Can the short numericCode presented to init() and setNumericCode() be <= 0? What are its legal values? Can the short ratioOfFractionToWhole provided to init() and setRatioOfFractionToWhole() be <= 1? What are acceptable values? Can the point in time represented by introductionDate be >= expirationDate in init() and setExpirationDate()/setIntroductionDate()?