// Path: MarsImages/MarsImages/src/main/java/gov/nasa/jpl/hi/marsimages/rovers/Opportunity.java
// public class Opportunity extends Rover.MER {
// 
//     public Opportunity() {
//         eyeIndex = 23;
//         instrumentIndex = 1;
//         sampleTypeIndex = 12;
//         stereoInstruments.addAll(Arrays.asList("F", "R", "N", "P"));
//     }
// 
//     @Override
//     public String getUser() {
//         return "opportunitymars";
//     }
// 
//     @Override
//     public Date getEpoch() {
//         try {
//             return new SimpleDateFormat(EPOCH_FORMAT).parse("2004012415:08:59GMT");
//         } catch (ParseException e) {
//             e.printStackTrace();
//         }
//         return null;
//     }
// 
//     @Override
//     public String getURLPrefix() {
//         return "http://merpublic.s3.amazonaws.com";
//     }
// }


import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import com.powellware.marsimages.R;
import java.text.SimpleDateFormat;
import java.util.Date;
import gov.nasa.jpl.android.marstime.MarsTime;
import gov.nasa.jpl.hi.marsimages.rovers.Opportunity;
import static gov.nasa.jpl.android.marstime.MarsTime.CURIOSITY_WEST_LONGITUDE;
import static gov.nasa.jpl.android.marstime.MarsTime.EARTH_SECS_PER_MARS_SEC;
package gov.nasa.jpl.hi.marsimages.ui;







public class MarsClockActivity extends AppCompatActivity {

    public static final String INTENT_ACTION_MARS_TIME = "gov.nasa.jpl.hi.marsimages.MARS_TIME";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_mars_clock);
        final TextView earthText = (TextView) findViewById(R.id.earthTimeText);
        final TextView oppyText = (TextView) findViewById(R.id.oppyTimeText);
        final TextView curioText = (TextView) findViewById(R.id.curioTimeText);
// Path: MarsImages/MarsImages/src/main/java/gov/nasa/jpl/hi/marsimages/rovers/Opportunity.java
// public class Opportunity extends Rover.MER {
// 
//     public Opportunity() {
//         eyeIndex = 23;
//         instrumentIndex = 1;
//         sampleTypeIndex = 12;
//         stereoInstruments.addAll(Arrays.asList("F", "R", "N", "P"));
//     }
// 
//     @Override
//     public String getUser() {
//         return "opportunitymars";
//     }
// 
//     @Override
//     public Date getEpoch() {
//         try {
//             return new SimpleDateFormat(EPOCH_FORMAT).parse("2004012415:08:59GMT");
//         } catch (ParseException e) {
//             e.printStackTrace();
//         }
//         return null;
//     }
// 
//     @Override
//     public String getURLPrefix() {
//         return "http://merpublic.s3.amazonaws.com";
//     }
// }


// Path: MarsImages/MarsImages/src/main/java/gov/nasa/jpl/hi/marsimages/ui/MarsClockActivity.java
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import com.powellware.marsimages.R;
import java.text.SimpleDateFormat;
import java.util.Date;
import gov.nasa.jpl.android.marstime.MarsTime;
import gov.nasa.jpl.hi.marsimages.rovers.Opportunity;
import static gov.nasa.jpl.android.marstime.MarsTime.CURIOSITY_WEST_LONGITUDE;
import static gov.nasa.jpl.android.marstime.MarsTime.EARTH_SECS_PER_MARS_SEC;

package gov.nasa.jpl.hi.marsimages.ui;







public class MarsClockActivity extends AppCompatActivity {

    public static final String INTENT_ACTION_MARS_TIME = "gov.nasa.jpl.hi.marsimages.MARS_TIME";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_mars_clock);
        final TextView earthText = (TextView) findViewById(R.id.earthTimeText);
        final TextView oppyText = (TextView) findViewById(R.id.oppyTimeText);
        final TextView curioText = (TextView) findViewById(R.id.curioTimeText);
        final Opportunity opportunity = new Opportunity();