Lines Matching defs:duration
25 * Returns the ISO 8601-format String corresponding to the given duration (measured in milliseconds).
27 public static String msToIsoString(long duration) {
28 long milliseconds = duration % 1000;
29 duration /= 1000;
30 long seconds = duration % 60;
31 duration /= 60;
32 long minutes = duration % 60;
33 duration /= 60;
34 long hours = duration;
74 long duration = ns;
75 long nanoseconds = duration % 1000;
76 duration /= 1000;
77 long microseconds = duration % 1000;
78 duration /= 1000;
79 long milliseconds = duration % 1000;
80 duration /= 1000;
81 long seconds = duration % 60;
82 duration /= 60;
83 long minutes = duration % 60;
84 duration /= 60;
85 long hours = duration % 24;
86 duration /= 24;
87 long days = duration;