@Override public void writeToParcel(Parcel dest,int flags){
  dest.writeString(mName);
  dest.writeLong(mDate);
  dest.writeLong(mCod);
  final Weather weather=mWeathers.get(0);
  dest.writeLong(weather.getId());
  dest.writeString(weather.getMain());
  dest.writeString(weather.getDescription());
  dest.writeString(weather.getIcon());
  dest.writeLong(mSys.getSunrise());
  dest.writeLong(mSys.getSunset());
  dest.writeString(mSys.getCountry());
  dest.writeDouble(mMain.getTemp());
  dest.writeLong(mMain.getHumidity());
  dest.writeDouble(mMain.getPressure());
  dest.writeDouble(mWind.getSpeed());
  dest.writeDouble(mWind.getDeg());
}

@ Override public void writeToParcel ( Parcel dest , int flags ) { dest . writeString ( mName ) ; dest . writeLong ( mDate ) ; dest . writeLong ( mCod ) ; final Weather weather = mWeathers . get ( 0 ) ; dest . writeLong ( weather . getId ( ) ) ; dest . writeString ( weather . getMain ( ) ) ; dest . writeString ( weather . getDescription ( ) ) ; dest . writeString ( weather . getIcon ( ) ) ; dest . writeLong ( mSys . getSunrise ( ) ) ; dest . writeLong ( mSys . getSunset ( ) ) ; dest . writeString ( mSys . getCountry ( ) ) ; dest . writeDouble ( mMain . getTemp ( ) ) ; dest . writeLong ( mMain . getHumidity ( ) ) ; dest . writeDouble ( mMain . getPressure ( ) ) ; dest . writeDouble ( mWind . getSpeed ( ) ) ; dest . writeDouble ( mWind . getDeg ( ) ) ; }
write this instance out to byte contiguous memory .
