view org/steph.org @ 67:036fe1b13120

moar ideas.
author Robert McIntyre <rlm@mit.edu>
date Fri, 04 Oct 2013 14:49:04 -0400
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.