UIDatePicker.h


#import 
#import 
#import 

typedef NS_ENUM(NSInteger, UIDatePickerMode) {
    UIDatePickerModeTime,          
    UIDatePickerModeDate,          
    UIDatePickerModeDateAndTime,   
    UIDatePickerModeCountDownTimer,
};

NS_CLASS_AVAILABLE_IOS(2_0) @interface UIDatePicker : UIControl 
@property (nonatomic) UIDatePickerMode datePickerMode;

@property (nonatomic, retain) NSLocale   *locale;       //  区域
@property (nonatomic, copy)   NSCalendar *calendar;     //  日历
@property (nonatomic, retain) NSTimeZone *timeZone;     //  时区

@property (nonatomic, retain) NSDate *date;             //  时间
@property (nonatomic, retain) NSDate *minimumDate;      //  显示的最早的时间
@property (nonatomic, retain) NSDate *maximumDate;      //  显示的最晚的时间
    
@property (nonatomic) NSTimeInterval countDownDuration;
@property (nonatomic) NSInteger      minuteInterval;   

- (void)setDate:(NSDate *)date animated:(BOOL)animated;
@end



你可能感兴趣的:(UIDatePicker.h)