Code example for AccessibilityEvent

Methods: getText

        final int flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR;
        String selectedDateUtterance = DateUtils.formatDateTime(getContext(),
                mCurrentDate.getTimeInMillis(), flags);
     * @return The selected year. 
    public int getYear() { 
        return mCurrentDate.get(Calendar.YEAR);
     * @return The selected month or week. 
    public abstract int getPositionInYear(); 
    protected abstract int getMaxYear(); 
Stop searching for code, let great code find you!  Add Codota to your java IDE