Example usage for java.time OffsetTime plusMinutes

List of usage examples for java.time OffsetTime plusMinutes

Introduction

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

Prototype

public OffsetTime plusMinutes(long minutes) 

Source Link

Document

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

Usage

From source file:Main.java

public static void main(String[] args) {
    OffsetTime m = OffsetTime.now();
    OffsetTime n = m.plusMinutes(1234);
    System.out.println(n);/*from   ww w.  j  ava  2 s .  com*/

}