Code example for Calendar

Methods: getFirstDayOfWeek

    private YearPickerView mYearPickerView;
    private Button mDoneButton;
    private int mCurrentView = UNINITIALIZED;
    private int mWeekStart = mCalendar.getFirstDayOfWeek();
    private int mMinYear = DEFAULT_START_YEAR;
    private int mMaxYear = DEFAULT_END_YEAR;
    private Vibrator mVibrator;
    private long mLastVibrate;
    private boolean mDelayAnimation = true;
    // Accessibility strings. 
    private String mDayPickerDescription;
    private String mSelectDay;
    private String mYearPickerDescription;
    private String mSelectYear;
Connect your IDE to all the code out there  Get Codota for Java