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.43 by jsr166, Wed Jul 17 21:17:43 2013 UTC vs.
Revision 1.44 by jsr166, Wed Feb 4 09:04:24 2015 UTC

# Line 102 | Line 102 | public enum TimeUnit {
102  
103      /**
104       * Time unit representing sixty seconds
105 +     * @since 1.6
106       */
107      MINUTES {
108          public long toNanos(long d)   { return x(d, C4/C0, MAX/(C4/C0)); }
# Line 117 | Line 118 | public enum TimeUnit {
118  
119      /**
120       * Time unit representing sixty minutes
121 +     * @since 1.6
122       */
123      HOURS {
124          public long toNanos(long d)   { return x(d, C5/C0, MAX/(C5/C0)); }
# Line 132 | Line 134 | public enum TimeUnit {
134  
135      /**
136       * Time unit representing twenty four hours
137 +     * @since 1.6
138       */
139      DAYS {
140          public long toNanos(long d)   { return x(d, C6/C0, MAX/(C6/C0)); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines