[][src]Trait uikit_sys::INSDateComponentsFormatter

pub trait INSDateComponentsFormatter: Sized + Deref {
    unsafe fn stringForObjectValue_(self, obj: id) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringFromDateComponents_(
        self,
        components: NSDateComponents
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringFromDate_toDate_(
        self,
        startDate: NSDate,
        endDate: NSDate
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringFromTimeInterval_(self, ti: NSTimeInterval) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getObjectValue_forString_errorDescription_(
        self,
        obj: *mut id,
        string: NSString,
        error: *mut NSString
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitsStyle(self) -> NSDateComponentsFormatterUnitsStyle
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setUnitsStyle_(
        self,
        unitsStyle: NSDateComponentsFormatterUnitsStyle
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allowedUnits(self) -> NSCalendarUnit
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAllowedUnits_(self, allowedUnits: NSCalendarUnit)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn zeroFormattingBehavior(
        self
    ) -> NSDateComponentsFormatterZeroFormattingBehavior
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setZeroFormattingBehavior_(
        self,
        zeroFormattingBehavior: NSDateComponentsFormatterZeroFormattingBehavior
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn calendar(self) -> NSCalendar
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCalendar_(self, calendar: NSCalendar)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn referenceDate(self) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setReferenceDate_(self, referenceDate: NSDate)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allowsFractionalUnits(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAllowsFractionalUnits_(self, allowsFractionalUnits: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn maximumUnitCount(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setMaximumUnitCount_(self, maximumUnitCount: NSInteger)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn collapsesLargestUnit(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCollapsesLargestUnit_(self, collapsesLargestUnit: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn includesApproximationPhrase(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setIncludesApproximationPhrase_(
        self,
        includesApproximationPhrase: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn includesTimeRemainingPhrase(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setIncludesTimeRemainingPhrase_(
        self,
        includesTimeRemainingPhrase: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn formattingContext(self) -> NSFormattingContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setFormattingContext_(
        self,
        formattingContext: NSFormattingContext
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedStringFromDateComponents_unitsStyle_(
        components: NSDateComponents,
        unitsStyle: NSDateComponentsFormatterUnitsStyle
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

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

unsafe fn stringFromDateComponents_(
    self,
    components: NSDateComponents
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringFromDate_toDate_(
    self,
    startDate: NSDate,
    endDate: NSDate
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringFromTimeInterval_(self, ti: NSTimeInterval) -> NSString where
    Self::Target: Message + Sized

unsafe fn getObjectValue_forString_errorDescription_(
    self,
    obj: *mut id,
    string: NSString,
    error: *mut NSString
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn unitsStyle(self) -> NSDateComponentsFormatterUnitsStyle where
    Self::Target: Message + Sized

unsafe fn setUnitsStyle_(self, unitsStyle: NSDateComponentsFormatterUnitsStyle) where
    Self::Target: Message + Sized

unsafe fn allowedUnits(self) -> NSCalendarUnit where
    Self::Target: Message + Sized

unsafe fn setAllowedUnits_(self, allowedUnits: NSCalendarUnit) where
    Self::Target: Message + Sized

unsafe fn zeroFormattingBehavior(
    self
) -> NSDateComponentsFormatterZeroFormattingBehavior where
    Self::Target: Message + Sized

unsafe fn setZeroFormattingBehavior_(
    self,
    zeroFormattingBehavior: NSDateComponentsFormatterZeroFormattingBehavior
) where
    Self::Target: Message + Sized

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

unsafe fn setCalendar_(self, calendar: NSCalendar) where
    Self::Target: Message + Sized

unsafe fn referenceDate(self) -> NSDate where
    Self::Target: Message + Sized

unsafe fn setReferenceDate_(self, referenceDate: NSDate) where
    Self::Target: Message + Sized

unsafe fn allowsFractionalUnits(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setAllowsFractionalUnits_(self, allowsFractionalUnits: BOOL) where
    Self::Target: Message + Sized

unsafe fn maximumUnitCount(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn setMaximumUnitCount_(self, maximumUnitCount: NSInteger) where
    Self::Target: Message + Sized

unsafe fn collapsesLargestUnit(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setCollapsesLargestUnit_(self, collapsesLargestUnit: BOOL) where
    Self::Target: Message + Sized

unsafe fn includesApproximationPhrase(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setIncludesApproximationPhrase_(
    self,
    includesApproximationPhrase: BOOL
) where
    Self::Target: Message + Sized

unsafe fn includesTimeRemainingPhrase(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setIncludesTimeRemainingPhrase_(
    self,
    includesTimeRemainingPhrase: BOOL
) where
    Self::Target: Message + Sized

unsafe fn formattingContext(self) -> NSFormattingContext where
    Self::Target: Message + Sized

unsafe fn setFormattingContext_(self, formattingContext: NSFormattingContext) where
    Self::Target: Message + Sized

unsafe fn localizedStringFromDateComponents_unitsStyle_(
    components: NSDateComponents,
    unitsStyle: NSDateComponentsFormatterUnitsStyle
) -> NSString where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSDateComponentsFormatter for NSDateComponentsFormatter[src]

Loading content...