[][src]Trait uikit_sys::INSRelativeDateTimeFormatter

pub trait INSRelativeDateTimeFormatter: Sized + Deref {
    unsafe fn localizedStringFromDateComponents_(
        self,
        dateComponents: NSDateComponents
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedStringFromTimeInterval_(
        self,
        timeInterval: NSTimeInterval
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedStringForDate_relativeToDate_(
        self,
        date: NSDate,
        referenceDate: NSDate
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringForObjectValue_(self, obj: id) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dateTimeStyle(self) -> NSRelativeDateTimeFormatterStyle
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDateTimeStyle_(
        self,
        dateTimeStyle: NSRelativeDateTimeFormatterStyle
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unitsStyle(self) -> NSRelativeDateTimeFormatterUnitsStyle
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setUnitsStyle_(
        self,
        unitsStyle: NSRelativeDateTimeFormatterUnitsStyle
    )
    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 calendar(self) -> NSCalendar
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCalendar_(self, calendar: NSCalendar)
    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
, { ... } }

Provided methods

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

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

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

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

unsafe fn dateTimeStyle(self) -> NSRelativeDateTimeFormatterStyle where
    Self::Target: Message + Sized

unsafe fn setDateTimeStyle_(
    self,
    dateTimeStyle: NSRelativeDateTimeFormatterStyle
) where
    Self::Target: Message + Sized

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

unsafe fn setUnitsStyle_(
    self,
    unitsStyle: NSRelativeDateTimeFormatterUnitsStyle
) 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 calendar(self) -> NSCalendar where
    Self::Target: Message + Sized

unsafe fn setCalendar_(self, calendar: NSCalendar) 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

Loading content...

Implementors

impl INSRelativeDateTimeFormatter for NSRelativeDateTimeFormatter[src]

Loading content...