net.sourceforge.pebble.util
Class RelativeDate

java.lang.Object
  extended by net.sourceforge.pebble.util.RelativeDate

public class RelativeDate
extends java.lang.Object

Represents a relative date (the time since something happened).

Author:
Simon Brown

Constructor Summary
RelativeDate(long time)
          Creates a new instance with the specified time.
 
Method Summary
 long getDays()
           
 long getHours()
           
 long getMinutes()
           
 long getSeconds()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativeDate

public RelativeDate(long time)
Creates a new instance with the specified time.

Parameters:
time - a number of milliseconds
Method Detail

getDays

public long getDays()

getHours

public long getHours()

getMinutes

public long getMinutes()

getSeconds

public long getSeconds()


Copyright © 2003-2006, Simon Brown. All Rights Reserved.