Example usage for java.time LocalTime minusMinutes

List of usage examples for java.time LocalTime minusMinutes

Introduction

In this page you can find the example usage for java.time LocalTime minusMinutes.

Prototype

public LocalTime minusMinutes(long minutesToSubtract) 

Source Link

Document

Returns a copy of this LocalTime with the specified number of minutes subtracted.

Usage

From source file:Main.java

public static void main(String[] args) {
    LocalTime l = LocalTime.now();
    LocalTime s = l.minusMinutes(100);
    System.out.println(s);//from   w ww .j ava2s  .  c o m
}