Class MsDosDateTimeUtils
- java.lang.Object
-
- com.android.tools.build.apkzlib.zip.utils.MsDosDateTimeUtils
-
public class MsDosDateTimeUtils extends java.lang.ObjectYes. This actually refers to MS-DOS in 2015. That's all I have to say about legacy stuff.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intpackCurrentDate()Packs the current time value into an MS-DOS date value.static intpackCurrentTime()Packs the current time value into an MS-DOS time value.static intpackDate(long time)Packs java time value into an MS-DOS date value.static intpackTime(long time)Packs java time value into an MS-DOS time value.
-
-
-
Method Detail
-
packTime
public static int packTime(long time)
Packs java time value into an MS-DOS time value.- Parameters:
time- the time value- Returns:
- the MS-DOS packed time
-
packCurrentTime
public static int packCurrentTime()
Packs the current time value into an MS-DOS time value.- Returns:
- the MS-DOS packed time
-
packDate
public static int packDate(long time)
Packs java time value into an MS-DOS date value.- Parameters:
time- the time value- Returns:
- the MS-DOS packed date
-
packCurrentDate
public static int packCurrentDate()
Packs the current time value into an MS-DOS date value.- Returns:
- the MS-DOS packed date
-
-