Example usage for java.time OffsetTime isAfter

List of usage examples for java.time OffsetTime isAfter

Introduction

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

Prototype

public boolean isAfter(OffsetTime other) 

Source Link

Document

Checks if the instant of this OffsetTime is after that of the specified time applying both times to a common date.

Usage

From source file:Main.java

public static void main(String[] args) {
    OffsetTime m = OffsetTime.now();

    System.out.println(m.isAfter(OffsetTime.now()));

}