Java XML Date isPreEIDAS(Date date)

Here you can find the source of isPreEIDAS(Date date)

Description

is Pre EIDAS

License

LGPL

Declaration

public static boolean isPreEIDAS(Date date) 

Method Source Code

//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;
    }
}

Related

  1. formatXmlDate(Calendar cal)
  2. getDateTimeRepresentation(Calendar date)
  3. getDateTimeString(Date dateTime)
  4. getXMLDate(final Date date)
  5. getXSDDateTimeFromCalendar(Calendar calTime)
  6. isValidDateUpdatedType(Calendar value)
  7. printDate(final Calendar date)
  8. printDate(java.util.Date dt)
  9. printDateTime(final Date date)