Here you can find the source of isPreEIDAS(Date date)
public static boolean isPreEIDAS(Date date)
//package com.java2s; //License from project: LGPL import java.util.Date; import javax.xml.bind.DatatypeConverter; public class Main { /**// www. j a v a 2 s. c o m * Start date of the eIDAS regularisation */ private final static Date EIDAS_DATE = DatatypeConverter.parseDateTime( "2016-07-01T00:00:00.000Z").getTime(); public static boolean isPreEIDAS(Date date) { return date != null && date.compareTo(EIDAS_DATE) < 0; } }