Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGL Development Tools » Support for date and time operations?
Support for date and time operations? [message #903789] Sun, 26 August 2012 02:43 Go to next message
Dan Darnell is currently offline Dan Darnell
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member

Is there support in EDT for time math? For example, can I determine the duration in seconds between two timestamps?

--Dan


Re: Support for date and time operations? [message #904012 is a reply to message #903789] Mon, 27 August 2012 15:09 Go to previous messageGo to next message
Matt Heitz is currently offline Matt Heitz
Messages: 36
Registered: July 2009
Member
Dan,

We decided to use functions, not the math operators, for this kind of thing in EDT. So far we've only implemented them for dates. For example, int1 = date1.daysDifferent(date2)

We have a bug open for the feature. Bug 362108 - Need a way to calculate the timestamp difference It's a candidate, but not committed, for the 0.8.2 release.

-Matt
Re: Support for date and time operations? [message #904093 is a reply to message #904012] Mon, 27 August 2012 18:29 Go to previous message
Dan Darnell is currently offline Dan Darnell
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
Thanks, Matt.

Previous Topic:Declaring NULL capable variables
Next Topic:How to Configure back level Java version
Goto Forum:
  


Current Time: Tue Oct 21 20:11:27 GMT 2014

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

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