Пример #1
0
 void NormalizeDate(ContentValues values)
 {
     // normalize the date value
     if (values.ContainsKey(WeatherContract.Weather.ColumnDate))
     {
         long dateValue = values.GetAsLong(WeatherContract.Weather.ColumnDate);
         values.Put(WeatherContract.Weather.ColumnDate, WeatherContract.NormalizeDate(dateValue));
     }
 }