public void setTimeInMillis ( long millis ) { // If we don't need to recalculate the calendar field values, // do nothing. // BEGIN Android-changed: Removed ZoneInfo support // if (time == millis && isTimeSet && areFieldsSet && areAllFieldsSet // && (zone instanceof ZoneInfo) && !((ZoneInfo)zone).isDirty()) { if ( time == millis && isTimeSet && areFieldsSet && areAllFieldsSet ) { // END Android-changed: Removed ZoneInfo support return ; } time = millis ; isTimeSet = true ; areFieldsSet = false ; computeFields ( ) ; areAllFieldsSet = areFieldsSet = true ; }
Sets this Calendar s current time from the given long value .