1 | import java.text.SimpleDateFormat; |
2 | |
3 | static S hmsWithColons() {
|
4 | ret hmsWithColons(now()); |
5 | } |
6 | |
7 | static S hmsWithColons(long time) {
|
8 | ret new SimpleDateFormat("HH:mm:ss").format(time);
|
9 | } |
Began life as a copy of #1006134
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006302 |
| Snippet name: | hmsWithColons - hour, minute, second in "hh:mm:ss" |
| Eternal ID of this version: | #1006302/1 |
| Text MD5: | 1b530cc8a40037b2f15816e989c92fb8 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-12-28 17:12:54 |
| Source code size: | 194 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 829 / 853 |
| Referenced in: | [show references] |