Searched refs:cal (Results 1 – 1 of 1) sorted by relevance
42 final Calendar cal = Calendar.getInstance(); in decodeDateTime() local44 cal.set(Calendar.MILLISECOND, 0); in decodeDateTime()45 cal.set(Calendar.SECOND, (dosTime & 0x1f) * 2); in decodeDateTime()46 cal.set(Calendar.MINUTE, (dosTime >> 5) & 0x3f); in decodeDateTime()47 cal.set(Calendar.HOUR_OF_DAY, dosTime >> 11); in decodeDateTime()49 cal.set(Calendar.DATE, dosDate & 0x1f); in decodeDateTime()50 cal.set(Calendar.MONTH, ((dosDate >> 5) & 0x0f) - 1); in decodeDateTime()51 cal.set(Calendar.YEAR, 1980 + (dosDate >> 9)); in decodeDateTime()53 return cal.getTimeInMillis(); in decodeDateTime()63 Calendar cal = Calendar.getInstance(); in encodeTime() local[all …]