TimeSpan Convenience



helo,

What is best-practise to achieve functionality similar to .Net's System.TimeSpan struct in Java?

For now, I've created my own TimeSpan class (http://blog.orange-cactus.org/?p=24) but I wonder what Java-pro's use everyday?

josef
.



Relevant Pages

  • Re: TimeSpan Convenience
    ... Josef Pfleger wrote: ... What is best-practise to achieve functionality similar to .Net's System.TimeSpan struct in Java? ... I've created my own TimeSpan class but I wonder what Java-pro's use everyday? ...
    (comp.lang.java.programmer)
  • Re: Clear the Screen
    ... cannot be implemented in any standard way across platforms. ... Even the 'standard' C and C++ languages which, like Java, aim for platform ... do not implement such functionality. ... of a development commitment needs be made by using JNI. ...
    (comp.lang.java)
  • Re: java.util.zip Limitations
    ... > fundamental disagreements with OOP and the direction Java is taking. ... > language, believing less is more. ... It has some nasty kludges due to early design ... > The functionality I added in myZipFile class, ...
    (comp.lang.java.programmer)
  • Re: how to compare two version strings in java
    ... The Mac, in classial period at least, had a well-defined standard for version numbering, used for system components and applications, both Apple and third-party, based on the NumVersion struct in MacTypes.h: ... syntax of the version strings he's interested in, to parse them into their constituent pieces, and to compare piece by piece. ... But you're right, even if he does know that, there's nothing for it but to parse and compare. ... It may take a few more lines of code in java. ...
    (comp.lang.java.programmer)
  • Re: Function pointers (Callback functions) in Java ?
    ... > a struct, into a heavy, clumsy object. ... > around in memory is not a pleasing prospect. ... Lets compare a C struct to a Java object. ... The Java object typically has one additional field, a pointer ...
    (comp.lang.java.programmer)