[][src]Trait uikit_sys::INSCalendar

pub trait INSCalendar: Sized + Deref {
    unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCalendarIdentifier_(self, ident: NSString) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn minimumRangeOfUnit_(self, unit: NSCalendarUnit) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn maximumRangeOfUnit_(self, unit: NSCalendarUnit) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfUnit_inUnit_forDate_(
        self,
        smaller: NSCalendarUnit,
        larger: NSCalendarUnit,
        date: NSDate
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn ordinalityOfUnit_inUnit_forDate_(
        self,
        smaller: NSCalendarUnit,
        larger: NSCalendarUnit,
        date: NSDate
    ) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfUnit_startDate_interval_forDate_(
        self,
        unit: NSCalendarUnit,
        datep: *mut NSDate,
        tip: *mut NSTimeInterval,
        date: NSDate
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dateFromComponents_(self, comps: NSDateComponents) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn components_fromDate_(
        self,
        unitFlags: NSCalendarUnit,
        date: NSDate
    ) -> NSDateComponents
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dateByAddingComponents_toDate_options_(
        self,
        comps: NSDateComponents,
        date: NSDate,
        opts: NSCalendarOptions
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn components_fromDate_toDate_options_(
        self,
        unitFlags: NSCalendarUnit,
        startingDate: NSDate,
        resultDate: NSDate,
        opts: NSCalendarOptions
    ) -> NSDateComponents
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getEra_year_month_day_fromDate_(
        self,
        eraValuePointer: *mut NSInteger,
        yearValuePointer: *mut NSInteger,
        monthValuePointer: *mut NSInteger,
        dayValuePointer: *mut NSInteger,
        date: NSDate
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_(
        self,
        eraValuePointer: *mut NSInteger,
        yearValuePointer: *mut NSInteger,
        weekValuePointer: *mut NSInteger,
        weekdayValuePointer: *mut NSInteger,
        date: NSDate
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getHour_minute_second_nanosecond_fromDate_(
        self,
        hourValuePointer: *mut NSInteger,
        minuteValuePointer: *mut NSInteger,
        secondValuePointer: *mut NSInteger,
        nanosecondValuePointer: *mut NSInteger,
        date: NSDate
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn component_fromDate_(
        self,
        unit: NSCalendarUnit,
        date: NSDate
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dateWithEra_year_month_day_hour_minute_second_nanosecond_(
        self,
        eraValue: NSInteger,
        yearValue: NSInteger,
        monthValue: NSInteger,
        dayValue: NSInteger,
        hourValue: NSInteger,
        minuteValue: NSInteger,
        secondValue: NSInteger,
        nanosecondValue: NSInteger
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_(
        self,
        eraValue: NSInteger,
        yearValue: NSInteger,
        weekValue: NSInteger,
        weekdayValue: NSInteger,
        hourValue: NSInteger,
        minuteValue: NSInteger,
        secondValue: NSInteger,
        nanosecondValue: NSInteger
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn startOfDayForDate_(self, date: NSDate) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn componentsInTimeZone_fromDate_(
        self,
        timezone: NSTimeZone,
        date: NSDate
    ) -> NSDateComponents
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn compareDate_toDate_toUnitGranularity_(
        self,
        date1: NSDate,
        date2: NSDate,
        unit: NSCalendarUnit
    ) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isDate_equalToDate_toUnitGranularity_(
        self,
        date1: NSDate,
        date2: NSDate,
        unit: NSCalendarUnit
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isDate_inSameDayAsDate_(
        self,
        date1: NSDate,
        date2: NSDate
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isDateInToday_(self, date: NSDate) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isDateInYesterday_(self, date: NSDate) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isDateInTomorrow_(self, date: NSDate) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isDateInWeekend_(self, date: NSDate) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfWeekendStartDate_interval_containingDate_(
        self,
        datep: *mut NSDate,
        tip: *mut NSTimeInterval,
        date: NSDate
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn nextWeekendStartDate_interval_options_afterDate_(
        self,
        datep: *mut NSDate,
        tip: *mut NSTimeInterval,
        options: NSCalendarOptions,
        date: NSDate
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn components_fromDateComponents_toDateComponents_options_(
        self,
        unitFlags: NSCalendarUnit,
        startingDateComp: NSDateComponents,
        resultDateComp: NSDateComponents,
        options: NSCalendarOptions
    ) -> NSDateComponents
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dateByAddingUnit_value_toDate_options_(
        self,
        unit: NSCalendarUnit,
        value: NSInteger,
        date: NSDate,
        options: NSCalendarOptions
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_(
        self,
        start: NSDate,
        comps: NSDateComponents,
        opts: NSCalendarOptions,
        block: _bindgen_ty_id_145431
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn nextDateAfterDate_matchingComponents_options_(
        self,
        date: NSDate,
        comps: NSDateComponents,
        options: NSCalendarOptions
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn nextDateAfterDate_matchingUnit_value_options_(
        self,
        date: NSDate,
        unit: NSCalendarUnit,
        value: NSInteger,
        options: NSCalendarOptions
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn nextDateAfterDate_matchingHour_minute_second_options_(
        self,
        date: NSDate,
        hourValue: NSInteger,
        minuteValue: NSInteger,
        secondValue: NSInteger,
        options: NSCalendarOptions
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dateBySettingUnit_value_ofDate_options_(
        self,
        unit: NSCalendarUnit,
        v: NSInteger,
        date: NSDate,
        opts: NSCalendarOptions
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dateBySettingHour_minute_second_ofDate_options_(
        self,
        h: NSInteger,
        m: NSInteger,
        s: NSInteger,
        date: NSDate,
        opts: NSCalendarOptions
    ) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn date_matchesComponents_(
        self,
        date: NSDate,
        components: NSDateComponents
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn calendarIdentifier(self) -> NSCalendarIdentifier
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn locale(self) -> NSLocale
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setLocale_(self, locale: NSLocale)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn timeZone(self) -> NSTimeZone
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTimeZone_(self, timeZone: NSTimeZone)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn firstWeekday(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setFirstWeekday_(self, firstWeekday: NSUInteger)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn minimumDaysInFirstWeek(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setMinimumDaysInFirstWeek_(
        self,
        minimumDaysInFirstWeek: NSUInteger
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn eraSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn longEraSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn monthSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn shortMonthSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn veryShortMonthSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn standaloneMonthSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn shortStandaloneMonthSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn veryShortStandaloneMonthSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn weekdaySymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn shortWeekdaySymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn veryShortWeekdaySymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn standaloneWeekdaySymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn shortStandaloneWeekdaySymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn veryShortStandaloneWeekdaySymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn quarterSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn shortQuarterSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn standaloneQuarterSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn shortStandaloneQuarterSymbols(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn AMSymbol(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn PMSymbol(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn calendarWithIdentifier_(
        calendarIdentifierConstant: NSString
    ) -> NSCalendar
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentCalendar() -> NSCalendar
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn autoupdatingCurrentCalendar() -> NSCalendar
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCalendarIdentifier_(self, ident: NSString) -> id where
    Self::Target: Message + Sized

unsafe fn minimumRangeOfUnit_(self, unit: NSCalendarUnit) -> NSRange where
    Self::Target: Message + Sized

unsafe fn maximumRangeOfUnit_(self, unit: NSCalendarUnit) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfUnit_inUnit_forDate_(
    self,
    smaller: NSCalendarUnit,
    larger: NSCalendarUnit,
    date: NSDate
) -> NSRange where
    Self::Target: Message + Sized

unsafe fn ordinalityOfUnit_inUnit_forDate_(
    self,
    smaller: NSCalendarUnit,
    larger: NSCalendarUnit,
    date: NSDate
) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn rangeOfUnit_startDate_interval_forDate_(
    self,
    unit: NSCalendarUnit,
    datep: *mut NSDate,
    tip: *mut NSTimeInterval,
    date: NSDate
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn dateFromComponents_(self, comps: NSDateComponents) -> NSDate where
    Self::Target: Message + Sized

unsafe fn components_fromDate_(
    self,
    unitFlags: NSCalendarUnit,
    date: NSDate
) -> NSDateComponents where
    Self::Target: Message + Sized

unsafe fn dateByAddingComponents_toDate_options_(
    self,
    comps: NSDateComponents,
    date: NSDate,
    opts: NSCalendarOptions
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn components_fromDate_toDate_options_(
    self,
    unitFlags: NSCalendarUnit,
    startingDate: NSDate,
    resultDate: NSDate,
    opts: NSCalendarOptions
) -> NSDateComponents where
    Self::Target: Message + Sized

unsafe fn getEra_year_month_day_fromDate_(
    self,
    eraValuePointer: *mut NSInteger,
    yearValuePointer: *mut NSInteger,
    monthValuePointer: *mut NSInteger,
    dayValuePointer: *mut NSInteger,
    date: NSDate
) where
    Self::Target: Message + Sized

unsafe fn getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_(
    self,
    eraValuePointer: *mut NSInteger,
    yearValuePointer: *mut NSInteger,
    weekValuePointer: *mut NSInteger,
    weekdayValuePointer: *mut NSInteger,
    date: NSDate
) where
    Self::Target: Message + Sized

unsafe fn getHour_minute_second_nanosecond_fromDate_(
    self,
    hourValuePointer: *mut NSInteger,
    minuteValuePointer: *mut NSInteger,
    secondValuePointer: *mut NSInteger,
    nanosecondValuePointer: *mut NSInteger,
    date: NSDate
) where
    Self::Target: Message + Sized

unsafe fn component_fromDate_(
    self,
    unit: NSCalendarUnit,
    date: NSDate
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn dateWithEra_year_month_day_hour_minute_second_nanosecond_(
    self,
    eraValue: NSInteger,
    yearValue: NSInteger,
    monthValue: NSInteger,
    dayValue: NSInteger,
    hourValue: NSInteger,
    minuteValue: NSInteger,
    secondValue: NSInteger,
    nanosecondValue: NSInteger
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_(
    self,
    eraValue: NSInteger,
    yearValue: NSInteger,
    weekValue: NSInteger,
    weekdayValue: NSInteger,
    hourValue: NSInteger,
    minuteValue: NSInteger,
    secondValue: NSInteger,
    nanosecondValue: NSInteger
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn startOfDayForDate_(self, date: NSDate) -> NSDate where
    Self::Target: Message + Sized

unsafe fn componentsInTimeZone_fromDate_(
    self,
    timezone: NSTimeZone,
    date: NSDate
) -> NSDateComponents where
    Self::Target: Message + Sized

unsafe fn compareDate_toDate_toUnitGranularity_(
    self,
    date1: NSDate,
    date2: NSDate,
    unit: NSCalendarUnit
) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn isDate_equalToDate_toUnitGranularity_(
    self,
    date1: NSDate,
    date2: NSDate,
    unit: NSCalendarUnit
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isDate_inSameDayAsDate_(self, date1: NSDate, date2: NSDate) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isDateInToday_(self, date: NSDate) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isDateInYesterday_(self, date: NSDate) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isDateInTomorrow_(self, date: NSDate) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isDateInWeekend_(self, date: NSDate) -> BOOL where
    Self::Target: Message + Sized

unsafe fn rangeOfWeekendStartDate_interval_containingDate_(
    self,
    datep: *mut NSDate,
    tip: *mut NSTimeInterval,
    date: NSDate
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn nextWeekendStartDate_interval_options_afterDate_(
    self,
    datep: *mut NSDate,
    tip: *mut NSTimeInterval,
    options: NSCalendarOptions,
    date: NSDate
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn components_fromDateComponents_toDateComponents_options_(
    self,
    unitFlags: NSCalendarUnit,
    startingDateComp: NSDateComponents,
    resultDateComp: NSDateComponents,
    options: NSCalendarOptions
) -> NSDateComponents where
    Self::Target: Message + Sized

unsafe fn dateByAddingUnit_value_toDate_options_(
    self,
    unit: NSCalendarUnit,
    value: NSInteger,
    date: NSDate,
    options: NSCalendarOptions
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_(
    self,
    start: NSDate,
    comps: NSDateComponents,
    opts: NSCalendarOptions,
    block: _bindgen_ty_id_145431
) where
    Self::Target: Message + Sized

unsafe fn nextDateAfterDate_matchingComponents_options_(
    self,
    date: NSDate,
    comps: NSDateComponents,
    options: NSCalendarOptions
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn nextDateAfterDate_matchingUnit_value_options_(
    self,
    date: NSDate,
    unit: NSCalendarUnit,
    value: NSInteger,
    options: NSCalendarOptions
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn nextDateAfterDate_matchingHour_minute_second_options_(
    self,
    date: NSDate,
    hourValue: NSInteger,
    minuteValue: NSInteger,
    secondValue: NSInteger,
    options: NSCalendarOptions
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn dateBySettingUnit_value_ofDate_options_(
    self,
    unit: NSCalendarUnit,
    v: NSInteger,
    date: NSDate,
    opts: NSCalendarOptions
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn dateBySettingHour_minute_second_ofDate_options_(
    self,
    h: NSInteger,
    m: NSInteger,
    s: NSInteger,
    date: NSDate,
    opts: NSCalendarOptions
) -> NSDate where
    Self::Target: Message + Sized

unsafe fn date_matchesComponents_(
    self,
    date: NSDate,
    components: NSDateComponents
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn calendarIdentifier(self) -> NSCalendarIdentifier where
    Self::Target: Message + Sized

unsafe fn locale(self) -> NSLocale where
    Self::Target: Message + Sized

unsafe fn setLocale_(self, locale: NSLocale) where
    Self::Target: Message + Sized

unsafe fn timeZone(self) -> NSTimeZone where
    Self::Target: Message + Sized

unsafe fn setTimeZone_(self, timeZone: NSTimeZone) where
    Self::Target: Message + Sized

unsafe fn firstWeekday(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn setFirstWeekday_(self, firstWeekday: NSUInteger) where
    Self::Target: Message + Sized

unsafe fn minimumDaysInFirstWeek(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn setMinimumDaysInFirstWeek_(self, minimumDaysInFirstWeek: NSUInteger) where
    Self::Target: Message + Sized

unsafe fn eraSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn longEraSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn monthSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn shortMonthSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn veryShortMonthSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn standaloneMonthSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn shortStandaloneMonthSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn veryShortStandaloneMonthSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn weekdaySymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn shortWeekdaySymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn veryShortWeekdaySymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn standaloneWeekdaySymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn shortStandaloneWeekdaySymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn veryShortStandaloneWeekdaySymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn quarterSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn shortQuarterSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn standaloneQuarterSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn shortStandaloneQuarterSymbols(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn AMSymbol(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn PMSymbol(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn calendarWithIdentifier_(
    calendarIdentifierConstant: NSString
) -> NSCalendar where
    Self::Target: Message + Sized

unsafe fn currentCalendar() -> NSCalendar where
    Self::Target: Message + Sized

unsafe fn autoupdatingCurrentCalendar() -> NSCalendar where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSCalendar for NSCalendar[src]

Loading content...