List of usage examples for java.time LocalTime minus
@Override public LocalTime minus(long amountToSubtract, TemporalUnit unit)
From source file:Main.java
public static void main(String[] args) { LocalTime l = LocalTime.now(); LocalTime s = l.minus(1000, ChronoUnit.SECONDS); System.out.println(s);/*www . j av a 2 s . com*/ }