Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 52557 Details for
Bug 161620
Time Zone discrepancy in Log View for Java XML Logging File
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch adding time zone info in UML
161620_patch.txt (text/plain), 1.64 KB, created by
Liz Dancy
on 2006-10-23 16:16:47 EDT
(
hide
)
Description:
Patch adding time zone info in UML
Filename:
MIME Type:
Creator:
Liz Dancy
Created:
2006-10-23 16:16:47 EDT
Size:
1.64 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.common.ui >Index: src-uml2sd/org/eclipse/hyades/uml2sd/ui/view/SDWidget.java >=================================================================== >RCS file: /home/tptp/platform/org.eclipse.tptp.platform.common.ui/src-uml2sd/org/eclipse/hyades/uml2sd/ui/view/SDWidget.java,v >retrieving revision 1.1 >diff -u -r1.1 SDWidget.java >--- src-uml2sd/org/eclipse/hyades/uml2sd/ui/view/SDWidget.java 16 Aug 2006 21:15:32 -0000 1.1 >+++ src-uml2sd/org/eclipse/hyades/uml2sd/ui/view/SDWidget.java 23 Oct 2006 19:25:05 -0000 >@@ -659,7 +659,9 @@ > { > double tt = ((ITimeRange)toolTipNode).getLastTime()*1000; > Date timeDate = new Date ((long)tt); >- String time=DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM).format(timeDate); >+ //TimeStyle changed for defect 161620 in order to >+ // show the user the creation time timezone >+ String time=DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.LONG).format(timeDate); > // if (agent.getStartTime() > 0) > // { > // Date date = new Date((long)agent.getStartTime() * 1000); >@@ -694,7 +696,9 @@ > String retValue="";//$NON-NLS-1$ > double tt = numTime*1000; > Date timeDate = new Date ((long)tt); >- String time=DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM).format(timeDate); >+ // TimeStyle changed for defect 161620 in order to >+ // show the user the creation time timezone >+ String time=DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.LONG).format(timeDate); > double ms=(int)(tt%1000); > double us=(int)((tt*1000)%1000); > double delta=(ms+us/1000)/1000;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 161620
:
52515
| 52557 |
60682