Java Calendar Setting Incorrectly

前端 未结 6 1324
离开以前
离开以前 2021-01-25 13:34

I\'m having some trouble with Java\'s Calendar. I\'m parsing some data from a txt file, and need to create a date. After completion of the following code:

tmpYea         


        
6条回答
  •  一个人的身影
    2021-01-25 13:55

    From the API:

    month - the value used to set the MONTH time field. Month value is 0-based. e.g., 0 for January.

提交回复
热议问题