org.archive.wayback.util.partition
Interface PartitionSize

All Known Implementing Classes:
DayPartitionSize, HourPartitionSize, MonthPartitionSize, TwoMonthPartitionSize, TwoYearPartitionSize, WeekPartitionSize, YearPartitionSize

public interface PartitionSize


Field Summary
static long DAY_IN_MONTH
           
static long DAY_IN_WEEK
           
static long DAY_IN_YEAR
           
static java.lang.String DAY_NAME
           
static long HOUR_IN_DAY
           
static java.lang.String HOUR_NAME
           
static java.lang.String MONTH_NAME
           
static long MS_IN_DAY
           
static long MS_IN_HOUR
           
static long MS_IN_MONTH
           
static long MS_IN_SEC
           
static long MS_IN_TWO_MONTH
           
static long MS_IN_TWO_YEAR
           
static long MS_IN_WEEK
           
static long MS_IN_YEAR
           
static long SEC_IN_HOUR
           
static java.lang.String TWO_MONTH_NAME
           
static java.lang.String TWO_YEAR_NAME
           
static java.lang.String WEEK_NAME
           
static java.lang.String YEAR_NAME
           
 
Method Summary
 void alignStart(java.util.Calendar in)
           
 java.util.Calendar increment(java.util.Calendar start, int offset)
           
 long intervalMS()
           
 java.lang.String name()
           
 

Field Detail

MS_IN_SEC

static final long MS_IN_SEC
See Also:
Constant Field Values

SEC_IN_HOUR

static final long SEC_IN_HOUR
See Also:
Constant Field Values

HOUR_IN_DAY

static final long HOUR_IN_DAY
See Also:
Constant Field Values

DAY_IN_WEEK

static final long DAY_IN_WEEK
See Also:
Constant Field Values

DAY_IN_MONTH

static final long DAY_IN_MONTH
See Also:
Constant Field Values

DAY_IN_YEAR

static final long DAY_IN_YEAR
See Also:
Constant Field Values

MS_IN_HOUR

static final long MS_IN_HOUR
See Also:
Constant Field Values

MS_IN_DAY

static final long MS_IN_DAY
See Also:
Constant Field Values

MS_IN_WEEK

static final long MS_IN_WEEK
See Also:
Constant Field Values

MS_IN_MONTH

static final long MS_IN_MONTH
See Also:
Constant Field Values

MS_IN_TWO_MONTH

static final long MS_IN_TWO_MONTH
See Also:
Constant Field Values

MS_IN_YEAR

static final long MS_IN_YEAR
See Also:
Constant Field Values

MS_IN_TWO_YEAR

static final long MS_IN_TWO_YEAR
See Also:
Constant Field Values

HOUR_NAME

static final java.lang.String HOUR_NAME
See Also:
Constant Field Values

DAY_NAME

static final java.lang.String DAY_NAME
See Also:
Constant Field Values

WEEK_NAME

static final java.lang.String WEEK_NAME
See Also:
Constant Field Values

MONTH_NAME

static final java.lang.String MONTH_NAME
See Also:
Constant Field Values

TWO_MONTH_NAME

static final java.lang.String TWO_MONTH_NAME
See Also:
Constant Field Values

YEAR_NAME

static final java.lang.String YEAR_NAME
See Also:
Constant Field Values

TWO_YEAR_NAME

static final java.lang.String TWO_YEAR_NAME
See Also:
Constant Field Values
Method Detail

alignStart

void alignStart(java.util.Calendar in)

increment

java.util.Calendar increment(java.util.Calendar start,
                             int offset)

intervalMS

long intervalMS()

name

java.lang.String name()


Copyright © 2005-2008 Internet Archive. All Rights Reserved.