view org/steph.org @ 72:ace7f097eb6c

add chess idea.
author Robert McIntyre <rlm@mit.edu>
date Sat, 09 Nov 2013 03:18:26 -0500
parents 5676533b82d8
children 8714919e1e52
line wrap: on
line source
1 #+title: Gooodbye
2 #+author: Robert McIntyre
3 #+email: rlm@mit.edu
4 #+setupfile: ../../aurellem/org/setup.org
5 #+include: ../../aurellem/org/level-0.org
9 [[../images/steph.jpg]]
11 #+begin_src clojure :results output :exports both
12 (import '(org.joda.time DateMidnight Interval))
14 (def steph-birth (DateMidnight. 1990 12 2))
16 (def steph-death (DateMidnight. 2012 7 26))
18 (def life (Interval. steph-birth steph-death))
20 (printf
21 "%d days."
22 (.getStandardDays (.toDuration life)))
23 #+end_src
25 #+results:
26 : 7906 days.
28 Goodbye Stephanie. I will miss you always.