Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362224 - different format for default timestamp output, declarations are equivalent.
Summary: different format for default timestamp output, declarations are equivalent.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 362150 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-27 13:44 EDT by Ben Margolis CLA
Modified: 2017-02-23 14:15 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.