Lines Matching defs:to
16 * 2 along with this work; if not, write to the Free Software Foundation,
64 // to(TimeUnit)
65 to(MILLISECONDS.convert(1, DAYS) - 1, MILLISECONDS);
66 to(MILLISECONDS.convert(1, DAYS) + 0, MILLISECONDS);
67 to(MILLISECONDS.convert(1, DAYS) + 1, MILLISECONDS);
68 to(1, MILLISECONDS);
69 to(0, MILLISECONDS);
70 to(1, MILLISECONDS);
71 to(MILLISECONDS.convert(-1, DAYS) - 1, MILLISECONDS);
72 to(MILLISECONDS.convert(-1, DAYS) + 0, MILLISECONDS);
73 to(MILLISECONDS.convert(-1, DAYS) + 1, MILLISECONDS);
75 for (int i=0; i<100; i++) { to(rand.nextLong(), unit); }
76 to(Long.MIN_VALUE, unit);
77 to(Long.MAX_VALUE, unit);
118 throw new RuntimeException("should not be equal to null");
147 static void to(long v, TimeUnit unit) {
150 long result = t.to(u);