Back to project page Aether-s-Notebook-Android-Client.
The source code is released under:
GNU General Public License
If you think the Android project Aether-s-Notebook-Android-Client 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 aethers.notebook.core; //from ww w.j a va 2s .com import android.os.Parcel; import android.os.Parcelable; public class TimeStamp implements Parcelable { public static final Parcelable.Creator<TimeStamp> CREATOR = new Parcelable.Creator<TimeStamp>() { @Override public TimeStamp createFromParcel(Parcel source) { return new TimeStamp(source); } @Override public TimeStamp[] newArray(int size) { return new TimeStamp[size]; } }; private long systemTime; private String timezone; public TimeStamp() { } public TimeStamp(long systemTime, String timezone) { this.systemTime = systemTime; this.timezone = timezone; } private TimeStamp(Parcel in) { systemTime = in.readLong(); timezone = in.readString(); } public long getSystemTime() { return systemTime; } public void setSystemTime(long systemTime) { this.systemTime = systemTime; } public String getTimezone() { return timezone; } public void setTimezone(String timezone) { this.timezone = timezone; } @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(systemTime); dest.writeString(timezone); } }