Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1,638
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido
Accepted Solution

Calendar.WEEK_OF_YEAR help

how do i get the week in the year?

it appears the Calendar class is missing




BlackBerry Development Advisor
Posts: 15,882
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Calendar.WEEK_OF_YEAR help

You can use the DateTimeUtilities.getWeekOfYear method to get the week of the year.  There is no method to get the week of the month.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.