Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Timepiece
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
naoty
May 13, 2015
Programming
3.9k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Timepiece
naoty
May 13, 2015
More Decks by naoty
See All by naoty
Modular API Client
naoty
1
450
Repository pattern in Swift
naoty
3
6.5k
Contribution to Rails
naoty
0
4.5k
久々のRailsプロジェクトで導入した開発環境
naoty
2
1.2k
Report of DIYish programming activity
naoty
1
300
How to build gems for Rails
naoty
1
200
Qiita/Kobito vs ?
naoty
0
220
Other Decks in Programming
See All in Programming
Domain-Driven Transformation
hschwentner
2
2.3k
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
130
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.2k
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.8k
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
340
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
550
R8 の設定見直しでアプリサイズ削減
andpad
0
140
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
450
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
540
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
130
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.8k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
450
Featured
See All Featured
Music & Morning Musume
bryan
48
7.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
A better future with KSS
kneath
240
18k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
210
The Language of Interfaces
destraynor
162
27k
Thoughts on Productivity
jonyablonski
76
5.4k
The Cult of Friendly URLs
andyhume
79
7k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
310
The browser strikes back
jonoalderson
0
1.8k
Bash Introduction
62gerente
615
220k
Amusing Abliteration
ianozsvald
1
330
Test your architecture with Archunit
thirion
2
2.4k
Transcript
/BPUP,BOFLP 5JNFQJFDF
None
!ٿϋε
5JNFQJFDF HJUIVCDPNOBPUZ5JNFQJFDF
None
*OUVJUJWF/4%BUF FYUFOTJPOTJO4XJGU
*OTQJSFECZ w "DUJWF4VQQPSU 3VCZ w .PNFOUKT +BWB4DSJQU
NJOVUFMBUFS J04 let components = NSDateComponents() components.minute = 1 NSCalendar.currentCalendar().dateByAddingComponents(
components, toDate: now, options: .SearchBackwards )
NJOVUFMBUFS J04 NSCalendar.currentCalendar().dateByAddingUnit( .CalendarUnitMinute, value: 1, toDate: now, options: .SearchBackwards
)
NJOVUFMBUFS 5JNFQJFDF now + 1.minute
NJOVUFMBUFS 5JNFQJFDF 1.minute.later
4QFDJpDEBUF J04 let now = NSDate() let calendar = NSCalendar.currentCalendar()
let components = calendar.components(…, fromDate: now) components.year = 2014 components.month = 8 components.day = 15 components.hour = 20 components.minute = 25 components.second = 43 calendar.dateFromComponents(components)
4QFDJpDEBUF 5JNFQJFDF NSDate.date( year: 2014, month: 8, day: 15, hour:
20, minute: 25, second: 43 )
&OEPGUIJTNPOUI J04 let now = NSDate() let calendar = NSCalendar.currentCalendar()
let lastDay = calendar.rangeOfUnit(.CalendarUnitDay, inUnit: .CalendarUnitMonth, forDate: now).length let components = calendar.components(…, fromDate: now) components.year = 2014 components.month = 8 components.day = lastDay components.hour = 20 components.minute = 25 components.second = 43 calendar.dateFromComponents(components)
&OEPGUIJTNPOUI 5JNFQJFDF now.endOfMonth
'PSNBUEBUF J04 let threeDaysAgo = … let formatter = NSDateFormatter()
formatter.dateFormat = “yyyy-MM-dd” formatter.stringFromDate(threeDaysAgo)
'PSNBUEBUF 5JNFQJFDF 3.days.ago.stringFromFormat(“yyyy-MM-dd”)
)PXJUXPSLT w *OU 5JNFQJFDFTXJGU w EBZT%VSBUJPO $BMFOEBS6OJU%BZ w
%VSBUJPOTXJGU w EBZTMBUFS/4%BUF w /4%BUF 5JNFQJFDFTXJGU w MIT/4%BUF SIT%VSBUJPO /4%BUF
*OTUBMMBUJPO pod “Timepiece”