Java tutorial
//package com.java2s; //License from project: Open Source License import java.util.Calendar; import java.util.GregorianCalendar; public class Main { /** * CPLC dates are counted in days starting from "1986-02-04" * * @param cplcDateValue * @return */ public static Calendar getDateFromCPLCDateValue(int cplcDateValue) { GregorianCalendar startDay = new GregorianCalendar(1977, 11, 29); startDay.add(Calendar.DAY_OF_YEAR, cplcDateValue); return startDay; } }