You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stdlib/public/SDK/Foundation/Date.swift
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ public struct Date : ReferenceConvertible, Comparable, Equatable, CustomStringCo
88
88
/**
89
89
The time interval between the date and the current date and time.
90
90
91
-
If the date is earlier than the current date and time, the this property's value is negative.
91
+
If the date is earlier than the current date and time, this property's value is negative.
92
92
93
93
- SeeAlso: `timeIntervalSince(_:)`
94
94
- SeeAlso: `timeIntervalSince1970`
@@ -115,7 +115,7 @@ public struct Date : ReferenceConvertible, Comparable, Equatable, CustomStringCo
115
115
///
116
116
/// - parameter timeInterval: The value to add, in seconds.
117
117
/// - warning: This only adjusts an absolute value. If you wish to add calendrical concepts like hours, days, months then you must use a `Calendar`. That will take into account complexities like daylight saving time, months with different numbers of days, and more.
@@ -179,9 +179,9 @@ public struct Date : ReferenceConvertible, Comparable, Equatable, CustomStringCo
179
179
180
180
- Parameter locale: A `Locale` object. If you pass `nil`, `NSDate` formats the date in the same way as the `description` property.
181
181
182
-
- Returns: A string representation of the receiver, using the given locale, or if the locale argument is `nil`, in the international format `YYYY-MM-DD HH:MM:SS ±HHMM`, where `±HHMM` represents the time zone offset in hours and minutes from UTC (for example, "`2001-03-24 10:45:32 +0600`")
182
+
- Returns: A string representation of the receiver, using the given locale, or if the locale argument is `nil`, in the international format `YYYY-MM-DD HH:MM:SS ±HHMM`, where `±HHMM` represents the time zone offset in hours and minutes from UTC (for example, "`2001-03-24 10:45:32 +0600`").
0 commit comments