It does this by adjusting dates to be within 80 years before and 20 yearsĪfter the time the SimpleDateFormat instance is created. For parsing with the abbreviated year pattern ("y" or "yy"), SimpleDateFormat must interpret theĪbbreviated year relative to some century. So using the pattern "MM/dd/yyyy", "01/11/12" parses to Jan 11, 12 A.D.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |