I want a function that will return an array of week numbers for current month in current year.
For example if the current month is August, 2015 it will return [32, 33, 34, 35, 36]. If month is February, 2015 it will return [6, 7, 8, 9].
Is there a way how can I get this?
In apple docs NSCalendar class has an option to get the number of current week in year but It's not what I need.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…