package Ġtech . relay corp . relay net Ċ Ċ import Ġjava . time . Zone Id Ċ import Ġjava . time . Z onedDateTime Ċ import Ġkotlin . test . assertTrue Ċ Ċ fun Ġassert Date Is Almost Now ( date : ĠZ onedDateTime ) Ġ{ ĊĠĠĠ Ġval Ġnow Ġ= ĠZ onedDateTime . now ( Zone Id . of ( date . zone . id )) ĊĠĠĠ Ġval Ġseconds Ago Ġ= Ġnow . minus Seconds ( 2 ) ĊĊĠĠĠ ĠassertTrue ( seconds Ago Ġ< Ġdate ) ĊĠĠĠ ĠassertTrue ( date Ġ<= Ġnow ) Ċ } Ċ