How to make a if statement with localtime.now and a set time

后端 未结 0 523
野的像风
野的像风 2021-01-07 07:49
LocalTime settime = LocalTime.of(19, 15, 9);
        System.out.println(settime);
        for(int i = 1; i < 80; i++){
        if (LocalTime.now() == settime){
           


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