Back to project page MarsImagesAndroid.
The source code is released under:
Apache License
If you think the Android project MarsImagesAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package gov.nasa.jpl.hi.marsimages.rovers; /*w w w. j a va2 s . c o m*/ import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; /** * Created by mpowell on 5/3/14. */ 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; } }