Groovy 1.6.5

Package groovy.time

TimeCategory related classes


Class Summary
DatumDependentDuration DatumDependentDuration represents durations whose length in milliseconds cannot be determined without knowing the datum point.
Duration Duration represents time periods which have values independant of the context.
TimeCategory Apply a number of methods to allow convenient Date/Time manipulation,such as:
 use ( TimeCategory ) {
 	// application on numbers:
 	println 10.hours.ago
 	// application on dates
 	def someDate = new Date()
 	println someDate - 3.months 
TimeDatumDependentDuration TimeDatumDuration represents a time perid which results from an arithmetic operation between a TimeDuration object and a DatumDuration object
TimeDuration TimeDuration represents time periods expressed in units of hours, minutes, seconds and milliseconds.

Copyright © 2003-2009 The Codehaus. All rights reserved.