Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359885

Summary: Should get error on defaultMoneyFormat and defaultTimeForm
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-10-04 13:47:51 EDT
strLib.defaultMoneyFormat and strLib.defaultTimeFormat should give errors since the Money or Time types aren't supported.


StrLib.defaultMoneyFormat = "$$,$$$";
StrLib.defaultTimeFormat = "h:mnm a";
Comment 1 Paul Harmon CLA 2011-10-11 11:55:38 EDT
I have removed these from the EGL definition of StrLib, so a user cannot refer to them inside of EGL code. I left the fields in the generated java/js library. If there is a need to regenerate these, the fields will be removed automatically. Otherwise, they dont hurt anything to leave them in.
Comment 2 broy2 CLA 2011-10-12 10:45:27 EDT
Verified in 20111012 build.