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.domain
Class TimePeriod

    java.lang.Object
      net.sourceforge.pebble.domain.TimePeriod

Direct Known Subclasses:
  AbstractBlog, Day, Month, Year

    public abstract class TimePeriod

extends java.lang.Object

Represents a period in time.

Author:
  Simon Brown

Constructor Summary
`TimePeriod(Blog blog)` Specifies the top-level, owning blog.

Method Summary
`Blog` | `getBlog()` Gets the top-level owning blog.
`java.util.Date` | `getDate()` Gets the date that this blog is for.
`void` | `setDate(java.util.Date d)` Sets the date that this blog is for.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TimePeriod

    public TimePeriod(Blog blog)

  Specifies the top-level, owning blog.

  Parameters:
    `blog` - the top-level owning Blog instance

Method Detail

### getBlog

    public Blog getBlog()

  Gets the top-level owning blog.

  Returns:
    a Blog instance

### getDate

    public java.util.Date getDate()

  Gets the date that this blog is for.

  Returns:
    a Date instance

### setDate

    public void setDate(java.util.Date d)

  Sets the date that this blog is for.

  Parameters:
    `d` - a Date instance

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.