package Ġorg . ab imon . vis i . time Ċ Ċ import Ġorg . junit . Assert . assertEquals Ċ import Ġorg . junit . Test Ċ import Ġjava . time . Duration Ċ import Ġjava . time . Period Ċ Ċ internal Ġclass ĠTime Difference Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġformat () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertEquals (" 1 Ġday Ġand Ġ 1 Ġminute ", ĠTime Difference ( Period . of Days ( 1 ), ĠDuration . of Minutes ( 1 )). format ()) ĊĠĠĠĠĠĠĠ ĠassertEquals (" 2 Ġdays ", ĠTime Difference ( Period . of Days ( 2 ), ĠDuration . ZERO ). format ()) ĊĠĠĠ Ġ} Ċ }