Instant before = Instant.now(); /* do something */ Instant after = Instant.now(); Duration duration = Duration.between(before, after); System.out.println("time = " + duration.toMillis() + " ms");
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。