rlm@6: #+title: Gooodbye rlm@6: #+author: Robert McIntyre rlm@6: #+email: rlm@mit.edu rlm@6: #+setupfile: ../../aurellem/org/setup.org rlm@6: #+include: ../../aurellem/org/level-0.org rlm@6: rlm@6: rlm@7: rlm@7: [[../images/steph.jpg]] rlm@7: rlm@6: #+begin_src clojure :results output :exports both rlm@8: (import '(org.joda.time DateMidnight Interval)) rlm@8: rlm@6: (def steph-birth (DateMidnight. 1990 12 2)) rlm@6: rlm@6: (def steph-death (DateMidnight. 2012 7 26)) rlm@6: rlm@6: (def life (Interval. steph-birth steph-death)) rlm@6: rlm@6: (printf rlm@6: "%d days." rlm@6: (.getStandardDays (.toDuration life))) rlm@6: #+end_src rlm@6: rlm@6: #+results: rlm@6: : 7906 days. rlm@6: rlm@7: Goodbye Stephanie. I will miss you always. rlm@6: