Java equivalent to C#'s TimeSpan
Question
Does Java have a data type that represents a period of time eg 34 seconds, 5 minutes etc.
I've seen a few implementations of a TimeSpan that cover a Time period like from the 10th of December to the 11th of December.
What I need is something like TimeSpan in C#.
Solution
Not a part of the JDK currently, but will be incorporated in JDK 7 - try Joda Time
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow