summaryrefslogtreecommitdiffstats
path: root/DDateTest.vala
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-06-03 03:13:37 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-06-03 03:13:37 +0200
commit61eb83337daac43e6c048549c0300bdde7af158a (patch)
tree464628e339f43ddfce6a27fc1722e225e814cb01 /DDateTest.vala
parent39e513b0f0d03e0886ef2f201fc3d9e1e6186f8b (diff)
downloaddclock-master.tar
dclock-master.zip
Fixed some off-by-one bugsHEADmaster
Diffstat (limited to 'DDateTest.vala')
-rw-r--r--DDateTest.vala7
1 files changed, 7 insertions, 0 deletions
diff --git a/DDateTest.vala b/DDateTest.vala
new file mode 100644
index 0000000..487aed7
--- /dev/null
+++ b/DDateTest.vala
@@ -0,0 +1,7 @@
+void main() {
+ Date date = Date();
+ date.set_dmy(15,3,2010);
+ DDate ddate = DDate(date);
+
+ print(ddate.to_string() + "\n");
+}