Skip to content
Commit c4a8e53b authored by dlk-truelink's avatar dlk-truelink
Browse files

37. OcspLookup

- 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
parent 7fda361f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment