Example usage for java.time OffsetTime minusMinutes

List of usage examples for java.time OffsetTime minusMinutes

Introduction

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

Prototype

public OffsetTime minusMinutes(long minutes) 

Source Link

Document

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

Usage

From source file:Main.java

public static void main(String[] args) {
    OffsetTime m = OffsetTime.now();
    OffsetTime n = m.minusMinutes(14);
    System.out.println(n);//www  .ja v  a2 s. c o m

}