Revision 5e6d3e7d
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/dialogs/RubikDialogScoresView.java | ||
---|---|---|
133 | 133 |
int seconds = time%60; |
134 | 134 |
int minutes = time/60; |
135 | 135 |
|
136 |
return minutes + (seconds<10 ? ":0" : ":") + seconds + (millis<10 ? ".0" : ".") + millis; |
|
136 |
String ret = minutes + (seconds<10 ? ":0" : ":") + seconds + (millis<10 ? ".0" : ".") + millis; |
|
137 |
return minutes<10 ? "0"+ret : ret; |
|
137 | 138 |
} |
138 | 139 |
|
139 | 140 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
minor