{"id":28281,"date":"2020-03-02T17:01:33","date_gmt":"2020-03-02T22:01:33","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28281"},"modified":"2020-03-02T17:01:33","modified_gmt":"2020-03-02T22:01:33","slug":"time-swift-package","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/03\/02\/time-swift-package\/","title":{"rendered":"&ldquo;Time&rdquo; Swift Package"},"content":{"rendered":"<p><a href=\"https:\/\/davedelong.com\/blog\/2020\/02\/29\/introducing-time\/\">Dave DeLong<\/a> (<a href=\"https:\/\/twitter.com\/davedelong\/status\/1233868769920831488\">tweet<\/a>):<\/p>\n<blockquote cite=\"https:\/\/davedelong.com\/blog\/2020\/02\/29\/introducing-time\/\"><p><code>Time<\/code> is a Swift package to make date and time calculations much easier. As Apple platform developers we&rsquo;ve been blessed to have the raw power of the Foundation APIs available to us. These are, arguably, some of the most powerful calendaring APIs out there.<\/p><p>However, they have a myriad of sharp edges the <em>frequently<\/em> trip up developers. <code>Time<\/code> is my attempt to solve those problems. I won&rsquo;t go in to detail here about what those problems are; for that I&rsquo;ll encourage you to check out the <code>Time<\/code> <a href=\"https:\/\/github.com\/davedelong\/time\">repository on github<\/a>.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Dave DeLong (tweet): Time is a Swift package to make date and time calculations much easier. As Apple platform developers we&rsquo;ve been blessed to have the raw power of the Foundation APIs available to us. These are, arguably, some of the most powerful calendaring APIs out there.However, they have a myriad of sharp edges the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-03-02T22:01:36Z","apple_news_api_id":"273834a5-a634-475f-b62e-39f351351dda","apple_news_api_modified_at":"2020-03-02T22:01:36Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AJzg0paY0R1-2LjnzUTUd2g","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[69,31,1667,30,1666,74,71,901,364],"class_list":["post-28281","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-cocoa","tag-ios","tag-ios-13","tag-mac","tag-macos-10-15","tag-opensource","tag-programming","tag-swift-programming-language","tag-time"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=28281"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28281\/revisions"}],"predecessor-version":[{"id":28282,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28281\/revisions\/28282"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}