Merge pull request #3729 from practicalswift/a-vs-an-fixes-ii

[gardening] "a" vs. "an"-fixes
This commit is contained in:
Michael Gottesman
2016-07-24 14:18:22 -07:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@@ -90,7 +90,7 @@ public struct TimeZone : CustomStringConvertible, CustomDebugStringConvertible,
/// In general, you are discouraged from using abbreviations except for unique instances such as "GMT". Time Zone abbreviations are not standardized and so a given abbreviation may have multiple meaningsfor example, "EST" refers to Eastern Time in both the United States and Australia
///
/// - parameter abbreviation: The abbreviation for the time zone.
/// - returns: A time zone identified by abbreviation determined by resolving the abbreviation to a identifier using the abbreviation dictionary and then returning the time zone for that identifier. Returns `nil` if there is no match for abbreviation.
/// - returns: A time zone identified by abbreviation determined by resolving the abbreviation to an identifier using the abbreviation dictionary and then returning the time zone for that identifier. Returns `nil` if there is no match for abbreviation.
public init?(abbreviation: String) {
if let r = NSTimeZone(abbreviation: abbreviation) {
_wrapped = r