title: TimeUnit Cannot resolve symbol
body: <p>I am trying to make a basic countdown timer. I'm going to be honest I got most of this through a tutorial so I don't fully understand the workings of it but I've been trying for hours to find an answer and I don't know where else to look.</p>
  
  <p>I am getting a 'Cannot resolve symbol' at the bottom after TimeUnit. For example: MILLISECONDS, SECONDS, MINUTES.</p>
  
  <pre><code>package com.dukehatz.dev.bwexercise;
  
  import android.os.CountDownTimer;
  import android.support.v7.app.ActionBarActivity;
  import android.os.Bundle;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  import android.widget.Button;
  import android.widget.TextView;
  
  import org.w3c.dom.Text;
  
  public class Dips extends ActionBarActivity {
  
    TextView CountdownTimer;
    Button TimeStart, TimeReset;
  
    @Override
    protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_dips);
  
      TimeStart = (Button) findViewById(R.id.TimeStart);
      TimeReset = (Button) findViewById(R.id.TimeReset);
      CountdownTimer = (TextView) findViewById(R.id.CountdownTimer);
  
      CountdownTimer.setText("5:00.000");
  
      final CounterClass timer = new CounterClass(100000, 1000);
      TimeStart.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
              timer.start();
            }
          });
    }
  
    public class CounterClass extends CountDownTimer {
  
      public CounterClass(long millisInFuture, long countDownInterval) {
        super(millisInFuture, countDownInterval);
      }
  
      @Override
      public void onTick(long millisUntilFinished) {
        long millis = millisUntilFinished;
        String hms = String.format("%02d:%02d:%02d"),
            TimeUnit.MILLISECONDS.toHours(millis),
            TimeUnit.MILLISECONDS.toMinutes(millis) - TimeUnit.HOURS.toMinutes(TimeUnit.MILLISECONDS.toHours(millis),
            TimeUnit.MILLISECONDS.toSeconds(millis) - TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(millis);
        System.out.print(hms);
        CountdownTimer.setText(hms);
      }
  
      @Override
      public void onFinish() {
        CountdownTimer.setText("Complete!");
      }
    }
  }
  </code></pre>
  
  <p>I am all for an easier more beginner way of doing this if it exists.</p>
  
  <p>Thanks for any help</p>