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

Bug 362224

Summary: different format for default timestamp output, declarations are equivalent.
Product: z_Archived Reporter: Ben Margolis <margolis>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: jeffdouglas, jinfahua
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ben Margolis CLA 2011-10-27 13:44:10 EDT
input:
		
	result Timestamp("yyyyMMddHHmm");
	result02 Timestamp? = new Timestamp("yyyyMMddHHmm");

	sysLib.writeStdOut("result:   "    + result as String +
                           "\nresult02: "  + result02 as string);
	

output:

	result:   2011-10-26 16:27:14
	result02: 2011-10-26 16:27


Java:

	Calendar result = ETimestamp.defaultValue();
	Calendar result02;
	result02 = 
        ETimestamp.defaultValue(ETimestamp.YEAR_CODE, ETimestamp.MINUTE_CODE);
	SysLib.writeStdout((EString.plus((((("result:   ") + EString.asString(result))) + "\nresult02: "), EString.asString(result02))));
Comment 1 Jeff Douglas CLA 2011-10-27 16:09:49 EDT
fixed
Comment 2 Jeff Douglas CLA 2011-10-27 16:17:44 EDT
*** Bug 362150 has been marked as a duplicate of this bug. ***
Comment 3 Ben Margolis CLA 2011-11-10 15:31:43 EST
verified with a build from 8 November.