# HG changeset patch # User Robert McIntyre # Date 1347930872 14400 # Node ID ed2906578cd60373f8d4698676bcc9b6b40a604f # Parent 66396e76dab954c6a8716e07a7aa246a06fe6077 goodbye stephanie. I will miss you :( diff -r 66396e76dab9 -r ed2906578cd6 org/steph.org --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org/steph.org Mon Sep 17 21:14:32 2012 -0400 @@ -0,0 +1,23 @@ +#+title: Gooodbye +#+author: Robert McIntyre +#+email: rlm@mit.edu +#+setupfile: ../../aurellem/org/setup.org +#+include: ../../aurellem/org/level-0.org + + +#+begin_src clojure :results output :exports both +(def steph-birth (DateMidnight. 1990 12 2)) + +(def steph-death (DateMidnight. 2012 7 26)) + +(def life (Interval. steph-birth steph-death)) + +(printf + "%d days." + (.getStandardDays (.toDuration life))) +#+end_src + +#+results: +: 7906 days. + +