distantPast
めちゃくちゃ遠い過去の日付けを返します
解説
めちゃくちゃ遠い過去の日付けを返します。
初期設定は 1-01-02 00:00:00 +0000 です。
iOS5.1では0001-12-30 00:00:00 +0000
返り値
( id )
時間
引数
フレームワーク
Foundation
クラス
NSDate
Class Methods
使用可能
10.0
参照
+ distantFuture
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSDate *theDate; theDate = [NSDate distantPast]; [myOutlet setStringValue:[theDate description]]; } @end