List of usage examples for java.time LocalTime minusSeconds
public LocalTime minusSeconds(long secondsToSubtract)
From source file:Main.java
public static void main(String[] args) { LocalTime l = LocalTime.now(); LocalTime s = l.minusSeconds(1000); System.out.println(s);//from ww w.j a v a 2 s. c o m }