ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/TimeUnit.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/TimeUnit.java (file contents):
Revision 1.30 by jsr166, Mon May 23 05:20:55 2005 UTC vs.
Revision 1.31 by dl, Tue Jun 14 15:09:34 2005 UTC

# Line 216 | Line 216 | public enum TimeUnit {
216       * or <tt>Long.MIN_VALUE</tt> if conversion would negatively
217       * overflow, or <tt>Long.MAX_VALUE</tt> if it would positively overflow.
218       * @see #convert
219 +     * @since 1.6
220       */
221      public abstract long toMinutes(long duration);
222  
# Line 226 | Line 227 | public enum TimeUnit {
227       * or <tt>Long.MIN_VALUE</tt> if conversion would negatively
228       * overflow, or <tt>Long.MAX_VALUE</tt> if it would positively overflow.
229       * @see #convert
230 +     * @since 1.6
231       */
232      public abstract long toHours(long duration);
233  
# Line 234 | Line 236 | public enum TimeUnit {
236       * @param duration the duration
237       * @return the converted duration
238       * @see #convert
239 +     * @since 1.6
240       */
241      public abstract long toDays(long duration);
242  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines