Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0df10e9b authored by Christian Mehlmauer's avatar Christian Mehlmauer
Browse files

Documentation Bug (Issue 9557)

There was an issue in the Time.toMillis example.
Also removed some whitespaces so the file
applies to the Android coding Styleguide

Change-Id: Ic1383e506b30ff181c6e14a12f675b52e5c8ccbc
parent 61af57bf
Loading
Loading
Loading
Loading
+45 −45
Original line number Diff line number Diff line
@@ -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