Back to project page helsinki-testbed2-android.
The source code is released under:
GNU General Public License
If you think the Android project helsinki-testbed2-android 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 fi.testbed2.domain; /*from w w w .j a va2 s .co m*/ import fi.testbed2.util.TimeUtil; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NonNull; /** * Represents the image object read from the testbed website. */ @EqualsAndHashCode(exclude={"localTimestamp"}) public class TestbedMapImage { @Getter @NonNull private String imageURL; @Getter @NonNull private String timestamp; @Getter(lazy=true) private final String localTimestamp = convertTimestampToLocalTimestamp(); public TestbedMapImage(String imageURL, String timestamp) { this.imageURL = imageURL; this.timestamp = timestamp; } private String convertTimestampToLocalTimestamp() { return TimeUtil.getLocalTimestampFromGMTTimestamp(this.timestamp); } }