开发者

Getting valued of am/pm from calendar object in case of blackberry?

开发者 https://www.devze.com 2022-12-20 02:44 出处:网络
i need to get the value of am/pm开发者_如何学C depending on the time set so i do this... calendarobject.get(Calendar.AM_PM);

i need to get the value of am/pm开发者_如何学C depending on the time set so i do this...

calendarobject.get(Calendar.AM_PM);

but this always returns 0 weather the system time is am/pm...

can any one tell me why this is happening..?


it was my mistake i was not setting the Hours_of_day value of the calendar object and hence the am_pm value was 0 always...

0

精彩评论

暂无评论...
验证码 换一张
取 消