Home | History | Annotate | Download | only in zip

Lines Matching refs:time

38      * Converts Windows time (in microseconds, UTC/GMT) time to FileTime.
46 * Converts FileTime to Windows time.
53 * Converts "standard Unix time"(in seconds, UTC/GMT) to FileTime
60 * Converts FileTime to "standard Unix time".
67 * Converts DOS time to Java time (number of milliseconds since epoch).
81 * Converts extended DOS time to Java time, where up to 1999 milliseconds
84 * @param xdostime the extended DOS time value
88 long time = dosToJavaTime(xdostime);
89 return time + (xdostime >> 32);
93 * Converts Java time to DOS time.
96 private static long javaToDosTime(long time) {
97 Date d = new Date(time);
109 * Converts Java time to DOS time, encoding any milliseconds lost
112 * @param time milliseconds since epoch
113 * @return DOS time with 2s remainder encoded into upper half
115 public static long javaToExtendedDosTime(long time) {
116 if (time < 0) {
119 long dostime = javaToDosTime(time);
121 ? dostime + ((time % 2000) << 32)