Adding sypet to repo
[Benchmarks_CSolver.git] / sypet-non-incremental / benchmarks / joda / 18 / Solution.java
diff --git a/sypet-non-incremental/benchmarks/joda/18/Solution.java b/sypet-non-incremental/benchmarks/joda/18/Solution.java
new file mode 100644 (file)
index 0000000..5bb6524
--- /dev/null
@@ -0,0 +1,13 @@
+import org.joda.time.DateTime;
+
+public class Solution {
+
+    public static boolean isLeapYear(int arg0) {
+        DateTime v1 = DateTime.now();
+        DateTime v2 = v1.withWeekyear(arg0);
+        DateTime.Property v3 = v2.year();
+        boolean v4 = v3.isLeap();
+        return v4;
+    }
+
+}