class DueDatePicker extends RelativeLayout {

    public void setDueDate(Date dueDate) {
        if (dueDate == null) {
            clearAndSelectView(mNoDateView);
        } else if (DateUtils.isToday(dueDate)) {
            clearAndSelectView(mTodayView);
        } else if (DateUtils.isTomorrow(dueDate)) {
            clearAndSelectView(mTomorrowView);
        } else {
            setDateForPicker(dueDate);
        }
    }

    public  DueDatePicker(Context context);
    public  DueDatePicker(Context context, AttributeSet attrs);
    public  DueDatePicker(Context context, AttributeSet attrs, int defStyleAttr);

}