annotate org/steph.org @ 6:ed2906578cd6

goodbye stephanie. I will miss you :(
author Robert McIntyre <rlm@mit.edu>
date Mon, 17 Sep 2012 21:14:32 -0400
parents
children 68ce1f2eb7a6
rev   line source
rlm@6 1 #+title: Gooodbye
rlm@6 2 #+author: Robert McIntyre
rlm@6 3 #+email: rlm@mit.edu
rlm@6 4 #+setupfile: ../../aurellem/org/setup.org
rlm@6 5 #+include: ../../aurellem/org/level-0.org
rlm@6 6
rlm@6 7
rlm@6 8 #+begin_src clojure :results output :exports both
rlm@6 9 (def steph-birth (DateMidnight. 1990 12 2))
rlm@6 10
rlm@6 11 (def steph-death (DateMidnight. 2012 7 26))
rlm@6 12
rlm@6 13 (def life (Interval. steph-birth steph-death))
rlm@6 14
rlm@6 15 (printf
rlm@6 16 "%d days."
rlm@6 17 (.getStandardDays (.toDuration life)))
rlm@6 18 #+end_src
rlm@6 19
rlm@6 20 #+results:
rlm@6 21 : 7906 days.
rlm@6 22
rlm@6 23