class Timestamp implements Comparable<Timestamp>, Parcelable {

  @Override
  public int compareTo(@NonNull Timestamp other) {
    if (seconds == other.seconds) {
      return Integer.signum(nanoseconds - other.nanoseconds);
    }
    return Long.signum(seconds - other.seconds);
  }

  public  Timestamp(long seconds, int nanoseconds);
  protected  Timestamp(@NonNull Parcel in);
  public  Timestamp(@NonNull Date date);

}