Compare two ZonedDateTime values and return an integer number back that will tell me how many hours difference between the two

前端 未结 0 569
逝去的感伤
逝去的感伤 2020-11-21 12:47
public static int timeZoneDifference (LocalDateTime date)
{
    ZonedDateTime zdtLocal = date.atZone(localZoneId);
    ZonedDateTime zdtEst = date.atZone(estZoneId);         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题