Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.pebble.util
Class RelativeDate

    java.lang.Object
      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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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