Skip to content
  • dlk-truelink's avatar
    37. OcspLookup · c4a8e53b
    dlk-truelink authored
    - fixed bug with invalid date creation for future update:
     * new Date(2013, 1, 1) in java is year 1900 + 2013 = 3913, 1 of February!
     * 
     * So if we want to set it to 1.1.2013, let's use Calendar object like this:
     * 
     * Calendar c = Calendar.getInstance();
     * 
     * c.set(2013, 0, 1);
    But it is not good to hardcode such dates, so set expiration date to current date plus one day to avoid hardcoding of any exact date
    
    git-svn-id: file:///svnrepo/openebusiness/dk.gov.oiosi/library/java/trunk@19422 4e58de57-8926-0410-947e-8945c843cdd7
    c4a8e53b