| Package | Description |
|---|---|
| com.h3c.util |
| Modifier and Type | Method and Description |
|---|---|
static TimePeriod |
TimePeriod.getDayPeriod(Date time,
TimeZone timeZone)
Gets the one-day period the given point in time belongs to.
|
static TimePeriod |
TimePeriod.getHourPeriod(Date time,
TimeZone timeZone)
Gets the one-hour period the given point in time belongs to.
|
static TimePeriod |
TimePeriod.getMonthPeriod(Date time,
TimeZone timeZone)
Gets the one-month period the given point in time belongs to.
|
static TimePeriod |
TimePeriod.getWeekPeriod(Date time,
TimeZone timeZone)
Gets the one-week period the given point in time belongs to.
|
static TimePeriod |
TimePeriod.getYearPeriod(Date time,
TimeZone timeZone)
Gets the one-year period the given point in time belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
List<TimePeriod> |
TimePeriod.breakDownDaily(TimeZone timeZone)
Breaks the time period down to days.
|
List<TimePeriod> |
TimePeriod.breakDownHourly(TimeZone timeZone)
Breaks the time period down to days.
|
List<TimePeriod> |
TimePeriod.breakDownMonthly(TimeZone timeZone)
Breaks the time period down to months.
|
List<TimePeriod> |
TimePeriod.breakDownWeekly(TimeZone timeZone)
Breaks the time period down to weeks.
|
List<TimePeriod> |
TimePeriod.breakDownYearly(TimeZone timeZone)
Breaks the time period down to years.
|
Copyright © 2014. All Rights Reserved.