Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Extract selected date,month and year to text views #18

Open
ghost opened this issue Nov 25, 2016 · 1 comment
Open

Extract selected date,month and year to text views #18

ghost opened this issue Nov 25, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 25, 2016

Please help!!!!

@obllivion
Copy link

A little late, but for future notice:

  1. Set up decorators like in instructions
  2. In decorate override, you have dayView which has getDate() method, which returns date.
  3. Since you cant get day month and year from date directly, you should cast date to calendar:
    Calendar calendar =Calendar.getInstance();
    calendar.setTime(dayView.getDate());

And from there you can extract day year etc.
Hope it helps someone else stuck here.

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

No branches or pull requests

1 participant