//
//  DateTimeViewController.h
//  EAMMobile
//
//  Created by Weikang Ding on 3/9/11.
//  Copyright 2011 Infor. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Utility.h"

@protocol DateTimeViewControllerDelegate

@required
-(void)datetimeSelected:(NSString *)dateFieldName value:(NSDate *)dateValue type:(NSString *)dateType;
-(void)dismissDatePicker;
@end


@interface DateTimeViewController : UIViewController {

}

@property (unsafe_unretained) id<DateTimeViewControllerDelegate> delegate;
@property (nonatomic, strong) NSString *dateFieldName;
@property (nonatomic, strong) NSString *dateType;
@property (nonatomic, strong) NSString *pickerTitle;
@property (nonatomic, strong) NSDate *dateValue;
@property (nonatomic, strong) NSDate *minimumDate;
@property (nonatomic, strong) NSDate *maximumDate;
@property (nonatomic        ) BOOL  hideClearButton;

@end
