Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can setNextweek and setPervious on button ckick #33

Open
UmeshBaldaniya46 opened this issue Jul 3, 2017 · 1 comment
Open

how can setNextweek and setPervious on button ckick #33

UmeshBaldaniya46 opened this issue Jul 3, 2017 · 1 comment

Comments

@UmeshBaldaniya46
Copy link

how can setNextweek and setPervious on button ckick

we want to Forward and back week same as moveToNextdata and moveToPreviousdata

@waqasebmacs
Copy link

private void NextDate() {

    for (int i = 0; i < 7; i++) {

        formattedDate = df.format(myCalendar.getTime());
        myCalendar.add(DAY_OF_WEEK, 1);
        weekCalendar.moveToNext();
        datetimetext.setText((CharSequence) formattedDate);
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants