swiftdate
https://github.com/malcommac/SwiftDate
http://malcommac.github.io/SwiftDate/manipulate_dates.html
Region(tz: TimeZoneName.europeRome, cal: CalendarName.gregorian, loc: LocaleName.italianItaly) 아님...
주의
- `CalendarName` is now `Calendars` and its conform to the new `CalendarConvertible` protocol. All parameters (like `Region` inits function) takes now a generic `CalendarConvertible ` instance: this mean you can pass one of the enum values of the
https://github.com/malcommac/SwiftDate/search?q=calendarname&unscoped_q=calendarname
Timezone은 Zones
CalendarName은 Calendars
LocaleName은 Locales로 변경됨.
let regionSeoul = Region(calendar: Calendars.gregorian, zone: Zones.asiaSeoul, locale: Locales.korean)
var modifiedDate = try! DateInRegion(year: dt.year, month: dt.month, day: dt.day, hour: 0, minute: 0, second: 0, nanosecond: 0, region: GS.s.regionSeoul)