Here you can find the source of isEqualOrAfterNow(Instant now, Instant instant)
public static boolean isEqualOrAfterNow(Instant now, Instant instant)
//package com.java2s; //License from project: Open Source License import java.time.Instant; public class Main { public static boolean isEqualOrAfterNow(Instant now, Instant instant) { return !instant.isBefore(now); }//www .j av a 2 s .c o m public static boolean isEqualOrAfterNow(Instant instant) { return isEqualOrAfterNow(Instant.now(), instant); } }