Package | Description |
---|---|
ch.agent.t2.applied |
Ready to use time domains and a time domain catalog implemented with the ch.agent.t2.time API.
|
ch.agent.t2.time |
Defines and implements time and time domains.
|
Modifier and Type | Method and Description |
---|---|
DayOfWeek |
DayByNameAndRank.getDayOfWeek()
Return the day of week.
|
Constructor and Description |
---|
DayByNameAndRank(DayOfWeek day,
int rank)
Construct day definition for the given day of week and rank.
|
Modifier and Type | Method and Description |
---|---|
DayOfWeek |
Time2.getDayOfWeek() |
DayOfWeek |
TimeIndex.getDayOfWeek()
Return the day of the week.
|
static DayOfWeek |
TimeTools.getDayOfWeek(Resolution unit,
long time)
Return the day of week for the given unit and uncompressed time index.
|
DayOfWeek |
TimePacker.getDayOfWeek(TimeIndex time)
Return the day of week for the given time.
|
DayOfWeek |
TimeFactory.getDayOfWeek(TimeIndex time) |
static DayOfWeek |
DayOfWeek.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayOfWeek[] |
DayOfWeek.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static int |
TimeTools.getDayByRank(long year,
int month,
DayOfWeek name,
int rank)
Return the day number of the month or of the year given the day's name and rank.
|
TimeIndex |
Time2.getDayByRank(Resolution basePeriod,
DayOfWeek day,
int rank) |
TimeIndex |
TimeIndex.getDayByRank(Resolution referencePeriod,
DayOfWeek day,
int rank)
Return the TimeIndex for a day defined by name and rank within a reference period.
|
static Day |
TimeTools.getDayOfMonthByRank(TimeIndex time,
DayOfWeek dayName,
int rank)
Return the TimeIndex for the day defined by name and rank within the
month of the indicated date.
|
static Day |
TimeTools.getDayOfYearByRank(TimeIndex time,
DayOfWeek dayName,
int rank)
Return the TimeIndex for the day defined by name and rank within the year
of the indicated date.
|
Copyright © 2017. All rights reserved.