Example #1
0
        private UserPreference getPreference(String hourColor, String minColor, String secColor, String offColor)
        {
            UserPreference preference = new UserPreference();

            preference.setHourColor(hourColor);
            preference.setMinColor(minColor);
            preference.setSecColor(secColor);
            preference.setOffColor(offColor);
            preference.setDateType("HHMMSS");
            return(preference);
        }