public static long getStartDateFromUri(Uri uri) {
            String dateString = uri.getQueryParameter(COLUMN_DATE);
            if (null != dateString && dateString.length() > 0)
                return Long.parseLong(dateString);
            else
                return 0;
        }
Defines table and column names for the weather database.
app/src/main/java/com/example/android/sunshine/app/data/WeatherContract.java