Index

RBDateTimeView.h

Classes


RBDateTimeView

A date and time form field.

Properties

The date and time selection mode.
public mode RBDateTimeViewMode { get set }

The locale. Default = [NSLocale currentLocale]. Setting nil returns to default.
public locale NSLocale { get set }

The calendar. Default = [NSLocale currentLocale]. Setting nil returns to default.
public calendar NSCalendar { get set }

The timeZone. Default = nil. Use current time zone or time zone from calendar
public timeZone NSTimeZone? { get set }

The date. Default = current date when input view created.
public date NSDate { get set }

The minimum date range . Default = nil. When min > max, the values are ignored.
public minimumDate NSDate? { get set }

The maximum date range . Default = nil. When min > max, the values are ignored.
public maximumDate NSDate? { get set }

Functions

Set the current date.
@param date : The date.
@param animated : Animate the change.
- (void)setDate:(nonnull NSDate *)date animated:(BOOL)animated;