Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » CDateTime display Time Zone
CDateTime display Time Zone [message #62963] Mon, 30 March 2009 16:32 Go to next message
Eclipse UserFriend
Originally posted by: Yo.gi.com

I am using the CDateTime widget and need to display the time zone also in
the widget.

Is it possible?
Re: CDateTime display Time Zone [message #62965 is a reply to message #62963] Tue, 31 March 2009 00:06 Go to previous message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
The timezone can be displayed in the textual selector by setting a
pattern that includes it: setPattern("hh:mm:ss z")
Refer to the SimpleDateTime class javadoc for more info on patterns.

The timezone can only be displayed in the text, there is no graphical
selector for it (yet), and it can only be modified through the
setTimezone methods.

Yogi wrote:
> I am using the CDateTime widget and need to display the time zone also
> in the widget.
>
> Is it possible?
>
>
>
>
Re: CDateTime display Time Zone [message #594189 is a reply to message #62963] Tue, 31 March 2009 00:06 Go to previous message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
The timezone can be displayed in the textual selector by setting a
pattern that includes it: setPattern("hh:mm:ss z")
Refer to the SimpleDateTime class javadoc for more info on patterns.

The timezone can only be displayed in the text, there is no graphical
selector for it (yet), and it can only be modified through the
setTimezone methods.

Yogi wrote:
> I am using the CDateTime widget and need to display the time zone also
> in the widget.
>
> Is it possible?
>
>
>
>
Previous Topic:CDateTime display Time Zone
Next Topic:NumPad Enter key in CDateTime
Goto Forum:
  


Current Time: Tue Oct 16 18:14:53 GMT 2018

Powered by FUDForum. Page generated in 0.02225 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top