package io.github.izzyleung.zhihudailypurify.support;

import java.text.SimpleDateFormat;

public final class Constants {
    private Constants() {

    }

    public static final class Url {
        public static final String ZHIHU_DAILY_BEFORE = "http://news.at.zhihu.com/api/3/news/before/";
        public static final String ZHIHU_DAILY_OFFLINE_NEWS = "http://news-at.zhihu.com/api/3/news/";
        public static final String ZHIHU_DAILY_PURIFY_HEROKU_BEFORE = "http://zhihu-daily-purify.herokuapp.com/raw/";
        public static final String ZHIHU_DAILY_PURIFY_SAE_BEFORE = "http://zhihudailypurify.sinaapp.com/raw/";
        public static final String SEARCH = "http://zhihudailypurify.sinaapp.com/search/";

        private Url() {

        }
    }

    public static final class Date {
        public static final SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMdd");
        @SuppressWarnings("deprecation")
        public static final java.util.Date birthday = new java.util.Date(113, 4, 19); // May 19th, 2013

        private Date() {

        }
    }


    public static final class ServerCode {
        public static final String SAE = "1";
        public static final String HEROKU = "2";

        private ServerCode() {

        }
    }
}

@@ -713,44 +713,8 @@
 h/%22;
-%0A%0A        private Url() %7B%0A%0A        %7D
 %0A   
@@ -1000,45 +1000,8 @@
 2013
-%0A%0A        private Date() %7B%0A%0A        %7D
 %0A   
@@ -1146,51 +1146,8 @@
 %222%22;
-%0A%0A        private ServerCode() %7B%0A%0A        %7D
 %0A   

Remove redundancy