// Path: src/main/java/com/googlecode/android/widgets/DateSlider/TimeObject.java
// public class TimeObject {
//     public final CharSequence text;
//     public final long startTime, endTime;
//     public TimeObject(final CharSequence text, final long startTime, final long endTime) {
//         this.text = text;
//         this.startTime = startTime;
//         this.endTime = endTime;
//     }
// }


import java.util.Calendar;
import android.content.Context;
import com.googlecode.android.widgets.DateSlider.TimeObject;
package com.googlecode.android.widgets.DateSlider.timeview;




/**
 * This is a subclass of the TimeLayoutView that represents a day. It uses
 * a different color to distinguish Sundays from other days.
 */
public class DayTimeLayoutView extends TimeLayoutView {

    protected boolean isSunday=false;

    /**
     * Constructor
     * @param context
     * @param isCenterView true if the element is the centered view in the ScrollLayout
     * @param topTextSize	text size of the top TextView in dps
     * @param bottomTextSize	text size of the bottom TextView in dps
     * @param lineHeight	LineHeight of the top TextView
     */
    public DayTimeLayoutView(Context context, boolean isCenterView,
            int topTextSize, int bottomTextSize, float lineHeight) {
        super(context, isCenterView, topTextSize, bottomTextSize, lineHeight);
    }

    @Override
// Path: src/main/java/com/googlecode/android/widgets/DateSlider/TimeObject.java
// public class TimeObject {
//     public final CharSequence text;
//     public final long startTime, endTime;
//     public TimeObject(final CharSequence text, final long startTime, final long endTime) {
//         this.text = text;
//         this.startTime = startTime;
//         this.endTime = endTime;
//     }
// }


// Path: src/main/java/com/googlecode/android/widgets/DateSlider/timeview/DayTimeLayoutView.java
import java.util.Calendar;
import android.content.Context;
import com.googlecode.android.widgets.DateSlider.TimeObject;

package com.googlecode.android.widgets.DateSlider.timeview;




/**
 * This is a subclass of the TimeLayoutView that represents a day. It uses
 * a different color to distinguish Sundays from other days.
 */
public class DayTimeLayoutView extends TimeLayoutView {

    protected boolean isSunday=false;

    /**
     * Constructor
     * @param context
     * @param isCenterView true if the element is the centered view in the ScrollLayout
     * @param topTextSize	text size of the top TextView in dps
     * @param bottomTextSize	text size of the bottom TextView in dps
     * @param lineHeight	LineHeight of the top TextView
     */
    public DayTimeLayoutView(Context context, boolean isCenterView,
            int topTextSize, int bottomTextSize, float lineHeight) {
        super(context, isCenterView, topTextSize, bottomTextSize, lineHeight);
    }

    @Override
    public void setVals(TimeObject to) {