|
|
@@ -807,13 +807,14 @@
|
|
|
|
|
|
@return A `NSDateFormatter` that can be used for converting dates to strings and vice versa.
|
|
|
|
|
|
- @warning Note that `NSDateFormatter` is not thread-safe, so the formatter generated by this method should be assigned to only one FMDB instance and should not be used for other purposes.
|
|
|
-
|
|
|
@see hasDateFormatter
|
|
|
@see setDateFormat:
|
|
|
@see dateFromString:
|
|
|
@see stringFromDate:
|
|
|
@see storeableDateFormat:
|
|
|
+
|
|
|
+ @warning Note that `NSDateFormatter` is not thread-safe, so the formatter generated by this method should be assigned to only one FMDB instance and should not be used for other purposes.
|
|
|
+
|
|
|
*/
|
|
|
|
|
|
+ (NSDateFormatter *)storeableDateFormat:(NSString *)format;
|
|
|
@@ -835,13 +836,13 @@
|
|
|
|
|
|
@param format Set to nil to use UNIX timestamps. Defaults to nil. Should be set using a formatter generated using FMDatabase::storeableDateFormat.
|
|
|
|
|
|
- @warning Note there is no direct getter for the `NSDateFormatter`, and you should not use the formatter you pass to FMDB for other purposes, as `NSDateFormatter` is not thread-safe.
|
|
|
-
|
|
|
@see hasDateFormatter
|
|
|
@see setDateFormat:
|
|
|
@see dateFromString:
|
|
|
@see stringFromDate:
|
|
|
@see storeableDateFormat:
|
|
|
+
|
|
|
+ @warning Note there is no direct getter for the `NSDateFormatter`, and you should not use the formatter you pass to FMDB for other purposes, as `NSDateFormatter` is not thread-safe.
|
|
|
*/
|
|
|
|
|
|
- (void)setDateFormat:(NSDateFormatter *)format;
|