Common dates used in time expansions
authorGeorgios Gousios <gousiosg@gmail.com>
Thu, 1 Dec 2011 08:01:35 +0000 (10:01 +0200)
committerGeorgios Gousios <gousiosg@gmail.com>
Thu, 1 Dec 2011 08:01:35 +0000 (10:01 +0200)
logic/src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/DSLUtils.scala

index e7d7d81..4842c68 100644 (file)
@@ -47,6 +47,9 @@ import java.util.{Date, GregorianCalendar, Calendar}
 
 trait DSLUtils extends DateUtils {
 
+  val maxdate = new Date(Int.MaxValue)
+  val mindate = new Date(0)
+
   def resolveEffectiveAlgorithmsForTimeslot(timeslot: (Date, Date),
                                            agr: DSLAgreement):
   Map[(Date, Date), DSLAlgorithm] =