I use java calendar. When I change date using calendar.set(…) I see in debugger
areFieldSet=false.
How can I make it to true?
Because when I ask date – I receive not correct value.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Normally you don’t need to care about that. But anyway, calling any method that needs fields to be set, for example
calendar.get(0), will make that field true.