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 |
---|---|
TimeParts |
DayRankingSubPeriodPattern.fillInSubPeriod(int subPeriod,
TimeParts tp) |
TimeParts |
SimpleSubPeriodPattern.fillInSubPeriod(int subPeriod,
TimeParts tp) |
Modifier and Type | Method and Description |
---|---|
long |
DayRankingSubPeriodPattern.adjustForSubPeriod(long time,
Adjustment adjust,
TimeParts tp) |
long |
SimpleSubPeriodPattern.adjustForSubPeriod(long time,
Adjustment adjust,
TimeParts tp) |
TimeParts |
DayRankingSubPeriodPattern.fillInSubPeriod(int subPeriod,
TimeParts tp) |
TimeParts |
SimpleSubPeriodPattern.fillInSubPeriod(int subPeriod,
TimeParts tp) |
Modifier and Type | Method and Description |
---|---|
TimeParts |
SubPeriodPattern.fillInSubPeriod(int subPeriod,
TimeParts timeParts)
Update the relevant field of the time parts argument for the given sub period
and return a modified copy.
|
TimeParts |
DefaultTimeScanner.scan(Resolution unit,
String datetime) |
TimeParts |
TimeScanner.scan(Resolution unit,
String datetime)
Scan the date string into a time parts object.
|
TimeParts |
TimeFactory.scan(Resolution unit,
String time) |
TimeParts |
TimePacker.unpack(long time)
Unpack the numeric representation of time into its component elements.
|
TimeParts |
TimeFactory.unpack(long time) |
Modifier and Type | Method and Description |
---|---|
long |
SubPeriodPattern.adjustForSubPeriod(long time,
Adjustment adjust,
TimeParts timeParts)
Modify and return the numeric time index corresponding to the state of the
time parts argument.
|
TimeParts |
SubPeriodPattern.fillInSubPeriod(int subPeriod,
TimeParts timeParts)
Update the relevant field of the time parts argument for the given sub period
and return a modified copy.
|
String |
TimeFormatter.format(TimeParts tp)
Generate a string representing the time in the time parts object.
|
String |
DefaultTimeFormatter.format(TimeParts tp)
Generate a string representing the time in the time parts object.
|
String |
TimeFactory.format(TimeParts timeParts) |
static long |
TimeTools.makeRawIndex(Resolution unit,
TimeParts tp)
Return a long number representing a time parts object.
|
long |
TimePacker.pack(TimeParts timeParts,
Adjustment adjust)
Pack the component elements of the time into a numeric time index.
|
long |
TimeFactory.pack(TimeParts tp,
Adjustment adjust) |
Constructor and Description |
---|
Time2(TimeDomain domain,
TimeParts timeParts,
Adjustment adjust)
Constructor a time index from a time parts object with an adjustment
parameter.
|
Copyright © 2017. All rights reserved.