我想将字符串日期转换为整数并从该整数获取月份我该怎么办?
例如:我的字符串日期为:
String date = "15-06-2016";
那我怎么能得到月份:
06 as output in integer
android calendar
android ×1
calendar ×1