Mobile API Reference  MicroStrategy 2019
MSICalendarUtils Class Reference

#import <MSICalendarUtils.h>

Inheritance diagram for MSICalendarUtils:
MSIAutoupdatingCurrentCalendarUtils

Class Methods

(NSString *) + getDateString:
 
(NSString *) + getTimeString:
 
(NSString *) + getDateTimeString:
 
(NSString *) + getMonthName:
 
(NSString *) + getShortMonthName:
 
(NSString *) + getShortDayName:
 
(NSString *) + getDayName:
 
(NSInteger) + getNumberOfRowsForMonth:year:
 
(NSRange) + getDaysOfMonth:year:
 
(NSInteger) + getFirstDayOfMonth:year:
 
(NSInteger) + getLastDayOfMonth:year:
 
(BOOL+ isDayGreater:month:year:aDay:aMonth:aYear:
 
(BOOL+ isMonthGreater:year:aMonth:aYear:
 
(NSInteger) + getYear:
 
(NSInteger) + getMonth:
 
(NSInteger) + getDay:
 
(NSInteger) + getHour:
 
(NSInteger) + getMinite:
 
(NSInteger) + getSecond:
 
(NSInteger) + getWeekday:
 
(NSString *) + getWeekdayShortNameByDate:
 
(NSString *) + getWeekdayNameByDate:
 
(NSString *) + getMonthShortNameByDate:
 
(NSString *) + getMonthNameByDate:
 
(NSDate *) + getDateByString:
 
(NSInteger) + getFirstWeekday
 
(void) + setFirstWeekday:
 
(NSInteger) + getLastWeekday
 

Protected Attributes

NSCalendar * calendar
 

Method Documentation

◆ getDateByString:()

+ (NSDate*) getDateByString: (NSString *)  iString

◆ getDateString:()

+ (NSString *) getDateString: (NSDate *)  currentDate

◆ getDateTimeString:()

+ (NSString *) getDateTimeString: (NSDate *)  currentDate

◆ getDay:()

+ (NSInteger) getDay: (NSDate *)  date

◆ getDayName:()

+ (NSString *) getDayName: (NSInteger)  dayNumber

◆ getDaysOfMonth:year:()

+ (NSRange) getDaysOfMonth: (NSInteger)  month
year: (NSInteger)  year 

◆ getFirstDayOfMonth:year:()

+ (NSInteger) getFirstDayOfMonth: (NSInteger)  month
year: (NSInteger)  year 

◆ getFirstWeekday()

+ (NSInteger) getFirstWeekday

◆ getHour:()

+ (NSInteger) getHour: (NSDate *)  date

◆ getLastDayOfMonth:year:()

+ (NSInteger) getLastDayOfMonth: (NSInteger)  month
year: (NSInteger)  year 

◆ getLastWeekday()

+ (NSInteger) getLastWeekday

◆ getMinite:()

+ (NSInteger) getMinite: (NSDate *)  date

◆ getMonth:()

+ (NSInteger) getMonth: (NSDate *)  date

◆ getMonthName:()

+ (NSString *) getMonthName: (NSInteger)  month

◆ getMonthNameByDate:()

+ (NSString*) getMonthNameByDate: (NSDate *)  date

◆ getMonthShortNameByDate:()

+ (NSString*) getMonthShortNameByDate: (NSDate *)  date

◆ getNumberOfRowsForMonth:year:()

+ (NSInteger) getNumberOfRowsForMonth: (NSInteger)  month
year: (NSInteger)  year 

◆ getSecond:()

+ (NSInteger) getSecond: (NSDate *)  date

◆ getShortDayName:()

+ (NSString *) getShortDayName: (NSInteger)  dayNumber

◆ getShortMonthName:()

+ (NSString *) getShortMonthName: (NSInteger)  month

◆ getTimeString:()

+ (NSString *) getTimeString: (NSDate *)  currentDate

◆ getWeekday:()

+ (NSInteger) getWeekday: (NSDate *)  date

◆ getWeekdayNameByDate:()

+ (NSString*) getWeekdayNameByDate: (NSDate *)  date

◆ getWeekdayShortNameByDate:()

+ (NSString*) getWeekdayShortNameByDate: (NSDate *)  date

◆ getYear:()

+ (NSInteger) getYear: (NSDate *)  date

◆ isDayGreater:month:year:aDay:aMonth:aYear:()

+ (BOOL) isDayGreater: (NSInteger)  day
month: (NSInteger)  month
year: (NSInteger)  year
aDay: (NSInteger)  aDay
aMonth: (NSInteger)  aMonth
aYear: (NSInteger)  aYear 

◆ isMonthGreater:year:aMonth:aYear:()

+ (BOOL) isMonthGreater: (NSInteger)  month
year: (NSInteger)  year
aMonth: (NSInteger)  aMonth
aYear: (NSInteger)  aYear 

◆ setFirstWeekday:()

+ (void) setFirstWeekday: (NSInteger)  dayNumber

Member Data Documentation

◆ calendar

- (NSCalendar*) calendar
protected