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)
'3D world > Unreal Engine Games Review' 카테고리의 다른 글
viewController 안에 viewController 넣기 (0) | 2019.01.26 |
---|---|
UIView 가장자리를 둥글게 (0) | 2019.01.24 |
[이전] 브런치 정리 중 (0) | 2019.01.22 |
브로드 캐스트 구조 만들기 (0) | 2019.01.21 |
master detail view에서 master view 계속 보이도록 하기 (0) | 2019.01.20 |
최근댓글