Lines Matching refs:duration
27 public static String msToIsoString(long duration) { in msToIsoString() argument
28 long milliseconds = duration % 1000; in msToIsoString()
29 duration /= 1000; in msToIsoString()
30 long seconds = duration % 60; in msToIsoString()
31 duration /= 60; in msToIsoString()
32 long minutes = duration % 60; in msToIsoString()
33 duration /= 60; in msToIsoString()
34 long hours = duration; in msToIsoString()
74 long duration = ns; in nsToString() local
75 long nanoseconds = duration % 1000; in nsToString()
76 duration /= 1000; in nsToString()
77 long microseconds = duration % 1000; in nsToString()
78 duration /= 1000; in nsToString()
79 long milliseconds = duration % 1000; in nsToString()
80 duration /= 1000; in nsToString()
81 long seconds = duration % 60; in nsToString()
82 duration /= 60; in nsToString()
83 long minutes = duration % 60; in nsToString()
84 duration /= 60; in nsToString()
85 long hours = duration % 24; in nsToString()
86 duration /= 24; in nsToString()
87 long days = duration; in nsToString()