Searched defs:toMillis (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/jni/
H A DTime.cpp58 int64_t am = a.toMillis(false /* use isDst */);
59 int64_t bm = b.toMillis(false /* use isDst */);
166 (int)(((Time*)this)->toMillis(false /* use isDst */)/1000));
180 Time::toMillis(bool ignoreDst) function in class:android::Time
/frameworks/base/core/java/android/text/format/
H A DTime.java206 * See {@link #toMillis(boolean)} for more information about when to
509 * Here is an example where <tt>toMillis(true)</tt> adjusts the time,
517 * millis = time.toMillis(false); // millis is Nov 4, 2007, 11pm
518 * millis = time.toMillis(true); // millis is Nov 5, 2007, 12am
522 * To avoid this problem, use <tt>toMillis(true)</tt>
526 * <tt>toMillis(false)</tt>.
529 * You should also use <tt>toMillis(false)</tt> if you want
533 native public long toMillis(boolean ignoreDst); method in class:Time
712 long millis = time.toMillis(true);
726 * Use {@link #toMillis(boolea
[all...]

Completed in 78 milliseconds