Home
last modified time | relevance | path

Searched defs:time (Results 1 – 25 of 64) sorted by relevance

123

/libcore/ojluni/src/main/java/java/util/zip/
DZipUtils.java88 long time = dosToJavaTime(xdostime); in extendedDosToJavaTime() local
96 private static long javaToDosTime(long time) { in javaToDosTime()
115 public static long javaToExtendedDosTime(long time) { in javaToExtendedDosTime()
DZipEntry.java193 public void setTime(long time) { in setTime()
247 public ZipEntry setLastModifiedTime(FileTime time) { in setLastModifiedTime()
293 public ZipEntry setLastAccessTime(FileTime time) { in setLastAccessTime()
330 public ZipEntry setCreationTime(FileTime time) { in setCreationTime()
/libcore/luni/src/main/java/libcore/icu/
DRelativeDateTimeFormatter.java91 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
99 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
114 android.icu.util.TimeZone icuTimeZone, long time, long now, long minResolution, int flags, in getRelativeTimeSpanString()
260 public static String getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, in getRelativeDateTimeString()
356 private static int julianDay(android.icu.util.TimeZone icuTimeZone, long time) { in julianDay()
DDateTimeFormat.java43 public static String format(ULocale icuLocale, Calendar time, int flags, in format()
/libcore/benchmarks/src/benchmarks/regression/
DSSLSocketFactoryBenchmark.java22 public void time(int reps) throws Exception { in time() method in SSLSocketFactoryBenchmark
DSSLLoopbackBenchmark.java26 public void time(int reps) throws Exception { in time() method in SSLLoopbackBenchmark
DJarFileBenchmark.java31 public void time(int reps) throws Exception { in time() method in JarFileBenchmark
DKeyPairGeneratorBenchmark.java57 public void time(int reps) throws Exception { in time() method in KeyPairGeneratorBenchmark
DDigestBenchmark.java59 public void time(int reps) throws Exception { in time() method in DigestBenchmark
/libcore/ojluni/src/main/java/java/time/
DLocalDateTime.java159 private final LocalTime time; field in LocalDateTime
231 LocalTime time = LocalTime.of(hour, minute); in of() local
256 LocalTime time = LocalTime.of(hour, minute, second); in of() local
281 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() local
306 LocalTime time = LocalTime.of(hour, minute); in of() local
331 LocalTime time = LocalTime.of(hour, minute, second); in of() local
356 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() local
367 public static LocalDateTime of(LocalDate date, LocalTime time) { in of()
417 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + nanoOfSecond); in ofEpochSecond() local
451 LocalTime time = LocalTime.from(temporal); in from() local
[all …]
DOffsetTime.java140 private final LocalTime time; field in OffsetTime
206 public static OffsetTime of(LocalTime time, ZoneOffset offset) { in of()
256 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + instant.getNano()); in ofInstant() local
285 LocalTime time = LocalTime.from(temporal); in from() local
331 private OffsetTime(LocalTime time, ZoneOffset offset) { in OffsetTime()
342 private OffsetTime with(LocalTime time, ZoneOffset offset) { in with()
1406 LocalTime time = LocalTime.readExternal(in); in readExternal() local
/libcore/luni/src/test/java/libcore/java/time/zone/
DZoneOffsetTransitionTest.java36 LocalDateTime time = LocalDateTime.of(2000, Month.JANUARY, 1, 0, 0); in test_toEpochSeconds() local
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedPrinterParser.java197 …public void test_time_print(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale… in test_time_print()
209 …public void test_time_parse(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale… in test_time_parse()
218 assertEquals(LocalTime.from(parsed), time); in test_time_parse() local
/libcore/ojluni/src/main/java/java/sql/
DTime.java69 public Time(long time) { in Time()
80 public void setTime(long time) { in setTime()
DTimestamp.java108 public Timestamp(long time) { in Timestamp()
126 public void setTime(long time) { in setTime()
144 long time = super.getTime(); in getTime() local
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock()
DCondition.java374 boolean await(long time, TimeUnit unit) throws InterruptedException; in await()
DStampedLock.java379 public long tryWriteLock(long time, TimeUnit unit) in tryWriteLock()
460 public long tryReadLock(long time, TimeUnit unit) in tryReadLock()
885 public boolean tryLock(long time, TimeUnit unit) in tryLock()
901 public boolean tryLock(long time, TimeUnit unit) in tryLock()
1109 long time; // 0 argument to park means no timeout in acquireWrite() local
1211 long time; in acquireRead() local
1293 long time; in acquireRead() local
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java128 private final LocalTime time; field in ZoneOffsetTransitionRule
175 LocalTime time, in of()
217 LocalTime time, in ZoneOffsetTransitionRule()
351 …LocalTime time = (timeByte == 31 ? LocalTime.ofSecondOfDay(in.readInt()) : LocalTime.of(timeByte %… in readExternal() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java163 private final transient LocalTime time; field in ChronoLocalDateTimeImpl
173 static <R extends ChronoLocalDate> ChronoLocalDateTimeImpl<R> of(R date, LocalTime time) { in of()
202 private ChronoLocalDateTimeImpl(D date, LocalTime time) { in ChronoLocalDateTimeImpl()
433 LocalTime time = (LocalTime) in.readObject(); in readExternal() local
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java133 long time = 2147483648000L;// Tue, 19 Jan 2038 03:14:08 GMT in testHelsinkiOverflow() local
202 @Override public void setStartRule(int m, int d, int dow, int time) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
205 @Override public void setStartRule(int m, int d, int dow, int time, boolean after) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
208 @Override public void setEndRule(int m, int d, int dow, int time) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
211 @Override public void setEndRule(int m, int d, int dow, int time, boolean after) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
/libcore/ojluni/src/main/java/java/util/
DTimer.java207 public void schedule(TimerTask task, Date time) { in schedule()
386 private void sched(TimerTask task, long time, long period) { in sched()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java203 SimpleDateFormat time = (SimpleDateFormat) DateFormat.getTimeInstance( in testDateTime() local
250 SimpleDateFormat time = (SimpleDateFormat) DateFormat.getTimeInstance( in testDateTimeLocale() local
/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewCreationTimeTest.java58 private static void setCreationTime(Path file, FileTime time) throws IOException { in setCreationTime()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTaskTest.java183 long time = System.currentTimeMillis() + 100; in test_scheduledExecutionTime() local

123