Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DatePickerDialog dialog gives me wrong dmonth  RSS feed

 
sam liya
Ranch Hand
Posts: 1271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used below codes to get select date.When i select date fom my app it select the early month which i select (Ex if i select February ,it gives me january as the month)





please help me?
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The docs tell you what format to expect the month in. Have you read them?
 
sam liya
Ranch Hand
Posts: 1271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found below in docs.what is mean by "The initial month of the dialog".

 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The month to display when the dialog is shown. But you are looking in the wrong spot.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!