()
| 545 | } |
| 546 | |
| 547 | @Test |
| 548 | public void format5() { |
| 549 | MachineTime.Formatter f = |
| 550 | MachineTime.Formatter.ofPattern("+##s,ffffff"); |
| 551 | String s1 = f.format(MachineTime.ofPosixUnits(0, 123456789)); |
| 552 | assertThat(s1, is("+0,123456")); |
| 553 | String s2 = f.format(MachineTime.ofPosixUnits(0, -123456789)); |
| 554 | assertThat(s2, is("-0,123456")); |
| 555 | } |
| 556 | |
| 557 | @Test |
| 558 | public void parse() throws ParseException { |
nothing calls this directly
no test coverage detected