mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
fix code
This commit is contained in:
@@ -10,7 +10,7 @@ public class BetweenFormaterTest {
|
||||
@Test
|
||||
public void formatTest(){
|
||||
long betweenMs = DateUtil.betweenMs(DateUtil.parse("2017-01-01 22:59:59"), DateUtil.parse("2017-01-02 23:59:58"));
|
||||
BetweenFormater formater = new BetweenFormater(betweenMs, Level.MILLSECOND, 1);
|
||||
BetweenFormater formater = new BetweenFormater(betweenMs, Level.MILLISECOND, 1);
|
||||
Assert.assertEquals(formater.toString(), "1天");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user