view org/steph.org @ 70:ed7d0ca99c55

gold bar idea.
author Robert McIntyre <rlm@mit.edu>
date Mon, 14 Oct 2013 22:26:21 -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.