private void updatePeriod(){
  for (int i=0; i < mConversion.size(); i++) {
    int dateType=mConversion.keyAt(i);
    TimePeriodSlider slider=mTimePeriodSliders.get(dateType);
    slider.setValue(mPeriod.get(mConversion.valueAt(i)));
  }
  mTime.setText(getFormattedPeriod());
  mDuration=mPeriod.toStandardDuration();
  doValidation();
}

private void updatePeriod ( ) { for ( int i = 0 ; i < mConversion . size ( ) ; i ++ ) { int dateType = mConversion . keyAt ( i ) ; TimePeriodSlider slider = mTimePeriodSliders . get ( dateType ) ; slider . setValue ( mPeriod . get ( mConversion . valueAt ( i ) ) ) ; } mTime . setText ( getFormattedPeriod ( ) ) ; mDuration = mPeriod . toStandardDuration ( ) ; doValidation ( ) ; }
updates the view to reflect changes in the period object
