     
   }
 }
+
+// *************************************************************************
+// MARK: - DateFilterCell
+
+class DateFilterCell: UITableViewCell {
+  
+  var textFont: UIFont!
+  var label: UILabel!
+  
+  override func awakeFromNib() {
+    super.awakeFromNib()
+    // Initialization code
+  }
+  
+  override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
+    super.init(style: style, reuseIdentifier: reuseIdentifier)
+    // Initialization code
+    
+    self.selectionStyle = UITableViewCellSelectionStyle.None
+    self.contentView.backgroundColor = UIColor.clearColor()
+    self.backgroundColor = UIColor.clearColor()
+    label = UILabel(frame: self.bounds)
+    label.backgroundColor = UIColor.clearColor()
+    label.autoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth
+    label.textAlignment = NSTextAlignment.Center
+    self.addSubview(label)
+  }
+  
+  required init(coder aDecoder: NSCoder) {
+    fatalError("init(coder:) has not been implemented")
+  }
+  
+  override func setSelected(selected: Bool, animated: Bool) {
+    super.setSelected(selected, animated: animated)
+    
+    if selected {
+      label.font = textFont.fontWithSize(textFont.pointSize + 7)
+      label.textColor = UIColor.whiteColor()
+    } else {
+      label.font = textFont
+      label.textColor = UIColor.blackColor()
+    }
+  }
+}
+
+
+// *************************************************************************
+// MARK: - NumberPickerTableView
+
+class NumberPickerTableView: UITableView {
+  
+  override init(frame: CGRect, style: UITableViewStyle) {
+    super.init(frame: frame, style: style)
+    
+    self.backgroundColor = UIColor.clearColor();
+    self.showsVerticalScrollIndicator = false
+    self.separatorStyle = UITableViewCellSeparatorStyle.None
+  }
+  
+  required init(coder aDecoder: NSCoder) {
+    fatalError("init(coder:) has not been implemented")
+  }
+}
  }
}


// *************************************************************************
// MARK: - UIScrollView Delegate and Additional Methods

  case FormatSingle   //  HH
}

private let HOUR_TAG = 0
private let MINUTE_TAG = 1
private let SECOND_TAG = 2
private let kTimeCellIndentifier = "TimeCell"
private let kMaxTimeCount = 59
private let kHourLength = 24
private let kMinuteLength = 60

// *************************************************************************
// MARK: - ASPickerView
