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
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
210
Qiita/Kobito vs ?
naoty
0
220
Other Decks in Programming
See All in Programming
Next.js: The final boss of Web Performance
guaca
0
340
JIS keyboard support in Omarchy
lef237
0
160
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
240
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
170
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
3
560
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
180
phperだってパンチカードでコーディングしたい
o0h
PRO
0
460
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
210
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
250
Vue Fes Japan の “作る側”に関わってみて
naokihaba
1
190
残高管理から台帳サービスへの進化
artoy
1
210
R8 の設定見直しでアプリサイズ削減
andpad
0
230
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
A designer walks into a library…
pauljervisheath
211
25k
エンジニアに許された特別な時間の終わり
watany
109
250k
Navigating Weather and Climate Data
rabernat
0
560
A better future with KSS
kneath
240
18k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
540
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
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”