Loading core/java/android/text/format/Time.java +45 −45 Original line number Diff line number Diff line Loading @@ -506,7 +506,7 @@ public class Time { * * <pre> * Time time = new Time(); * time.set(2007, 10, 4); // set the date to Nov 4, 2007, 12am * time.set(4, 10, 2007); // set the date to Nov 4, 2007, 12am * time.normalize(); // this sets isDst = 1 * time.monthDay += 1; // changes the date to Nov 5, 2007, 12am * millis = time.toMillis(false); // millis is Nov 4, 2007, 11pm Loading Loading
core/java/android/text/format/Time.java +45 −45 Original line number Diff line number Diff line Loading @@ -506,7 +506,7 @@ public class Time { * * <pre> * Time time = new Time(); * time.set(2007, 10, 4); // set the date to Nov 4, 2007, 12am * time.set(4, 10, 2007); // set the date to Nov 4, 2007, 12am * time.normalize(); // this sets isDst = 1 * time.monthDay += 1; // changes the date to Nov 5, 2007, 12am * millis = time.toMillis(false); // millis is Nov 4, 2007, 11pm Loading