开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜