Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Y 

A

AbstractTimeSeries<T> - Class in ch.agent.t2.timeseries
AbstractTimeseries is the basis for RegularTimeSeries and SparseTimeSeries.
AbstractTimeSeries() - Constructor for class ch.agent.t2.timeseries.AbstractTimeSeries
The parameterless constructor always throws an UnsupportedOperationException.
AbstractTimeSeries(Class<T>, TimeDomain, T) - Constructor for class ch.agent.t2.timeseries.AbstractTimeSeries
Construct a time series with the given time domain, data type, and missing value.
accept(TimeAddressable<T>, UpdateReviewer<T>) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Return the number of updates rejected by the reviewer.
accept(TimeAddressable<T>, long, T) - Method in interface ch.agent.t2.timeseries.UpdateReviewer
Returns true if the new value is acceptable as a replacement for the old one.
add(long) - Method in class ch.agent.t2.time.Time2
 
add(long) - Method in interface ch.agent.t2.time.TimeIndex
Return a new time index with the time incremented from this one.
adjustForSubPeriod(long, Adjustment, TimeParts) - Method in class ch.agent.t2.applied.DayRankingSubPeriodPattern
 
adjustForSubPeriod(long, Adjustment, TimeParts) - Method in class ch.agent.t2.applied.SimpleSubPeriodPattern
 
adjustForSubPeriod(long, Adjustment, TimeParts) - Method in interface ch.agent.t2.time.SubPeriodPattern
Modify and return the numeric time index corresponding to the state of the time parts argument.
Adjustment - Enum in ch.agent.t2.time
Adjustment defines three adjustment modes used when parsing time strings or converting between time domains.
allowEmptyDate(boolean) - Method in class ch.agent.t2.timeutil.DateHolder
Set a flag to allow or disallow empty dates.
asFastJavaTime() - Method in class ch.agent.t2.applied.SystemTime
Get the fast Java time corresponding to this systemtime.
asIndexable() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
asIndexable() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
asIndexable() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return an indexable time series corresponding to this one.
asLong() - Method in class ch.agent.t2.time.Time2
 
asLong() - Method in interface ch.agent.t2.time.TimeIndex
Return the numeric index.
asOffset() - Method in class ch.agent.t2.time.Time2
 
asOffset() - Method in interface ch.agent.t2.time.TimeIndex
Return the time as an offset from the origin.
asTimeDomain() - Method in class ch.agent.t2.time.TimeDomainDefinition
Construct the time domain corresponding to this definition.

B

BASE_YEAR_FOR_NANO - Static variable in interface ch.agent.t2.time.TimeDomain
 
BasePeriodPattern - Interface in ch.agent.t2.time
A BasePeriodPattern defines a repeating pattern of time points.

C

ch.agent.core - package ch.agent.core
Provides general implementation support to any project.
ch.agent.t2 - package ch.agent.t2
Provides error message and exception support and encapsulates a resource bundle with error messages.
ch.agent.t2.applied - package 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 - package ch.agent.t2.time
Defines and implements time and time domains.
ch.agent.t2.timeseries - package ch.agent.t2.timeseries
Defines and implements time series.
ch.agent.t2.timeutil - package ch.agent.t2.timeutil
Non-essential behavior useful for working with dates, times and time series.
checkRank(int, Resolution) - Method in class ch.agent.t2.applied.DayByNameAndRank
Verify the validity of the rank for the given resolution.
compareResolutionTo(Resolution) - Method in interface ch.agent.t2.time.TimeDomain
Return a negative, zero, positive number if the resolution is higher, the same, or lower than the argument.
compareResolutionTo(Resolution) - Method in class ch.agent.t2.time.TimeFactory
 
compareTo(TimeIndex) - Method in class ch.agent.t2.time.Time2
 
computeHMS(long) - Static method in class ch.agent.t2.time.TimeTools
Extract hours, minutes and seconds from totalSeconds.
computeHMS(long, int) - Static method in class ch.agent.t2.time.TimeTools
Extract hours, minutes and seconds from totalSeconds.
computeMonthAndDay(long, int) - Static method in class ch.agent.t2.time.TimeTools
Return an array with the month and the day for the given year and day in year.
computeYMD(long) - Static method in class ch.agent.t2.time.TimeTools
Extract years, month of year and day of month from total days.
convert(TimeDomain, Adjustment) - Method in class ch.agent.t2.time.Range
Convert the range to the domain specified.
convert(TimeDomain) - Method in class ch.agent.t2.time.Time2
 
convert(TimeDomain, Adjustment) - Method in class ch.agent.t2.time.Time2
 
convert(TimeDomain) - Method in interface ch.agent.t2.time.TimeIndex
Return a new time index by converting this one to the given time domain.
convert(TimeDomain, Adjustment) - Method in interface ch.agent.t2.time.TimeIndex
Return a new time index by converting this one to the given time domain, possibly adjusting the time as specified.
copy() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
copy() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
copy() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return a copy of the time series.
copy() - Method in interface ch.agent.t2.timeseries.TimeIndexable
 
Cycle - Class in ch.agent.t2.time
A Cycle is a BasePeriodPattern with a repeating sequence of ON and OFF time points.
Cycle(boolean...) - Constructor for class ch.agent.t2.time.Cycle
Construct a cycle using the given pattern.

D

d() - Method in class ch.agent.t2.time.TimeParts.YMD
 
DateHolder - Class in ch.agent.t2.timeutil
A DateHolder helps applications manipulate times.
DateHolder(TimeDomain) - Constructor for class ch.agent.t2.timeutil.DateHolder
Construct a date holder in the given time domain and initialize it with the current time.
DateHolder() - Constructor for class ch.agent.t2.timeutil.DateHolder
Construct a date holder in the daily domain and initialize it with the current time.
DateTime - Class in ch.agent.t2.applied
A DateTime is a Time2 with second resolution and the origin at 2000-01-01.
DateTime(TimeIndex) - Constructor for class ch.agent.t2.applied.DateTime
Construct a datetime time from another time object.
DateTime(String) - Constructor for class ch.agent.t2.applied.DateTime
Construct a datetime time from a string.
DateTime(long, int, int, int, int, int) - Constructor for class ch.agent.t2.applied.DateTime
Construct a datetime time from the given time components.
DateTimeScanner - Class in ch.agent.t2.timeutil
DateTimeScanner supports the interpretation of strings as TimeIndex objects.
DateTimeScanner(String, int[]) - Constructor for class ch.agent.t2.timeutil.DateTimeScanner
Construct a date time scanner with the given pattern and groups.
Day - Class in ch.agent.t2.time
A Day is a Time2 with day resolution.
Day(TimeIndex) - Constructor for class ch.agent.t2.time.Day
Construct a daily time from another time object.
Day(String) - Constructor for class ch.agent.t2.time.Day
Construct a daily time from a string.
Day(long, int, int) - Constructor for class ch.agent.t2.time.Day
Construct a daily time from the given time components.
DayByNameAndRank - Class in ch.agent.t2.applied
DayByNameAndRank defines a day by its name and its rank within a month or a year.
DayByNameAndRank(DayOfWeek, int) - Constructor for class ch.agent.t2.applied.DayByNameAndRank
Construct day definition for the given day of week and rank.
DayExpression - Class in ch.agent.t2.timeutil
A DayExpression allows to express times symbolically.
DayExpression(Adjustment) - Constructor for class ch.agent.t2.timeutil.DayExpression
Construct a day expression with the given adjustment.
DayExpression(DayExpression) - Constructor for class ch.agent.t2.timeutil.DayExpression
Construct a day expression as a copy of the given model.
dayIndex(Resolution, long) - Static method in class ch.agent.t2.time.TimeTools
Return the day index computed from the uncompressed numerical time.
DayOfWeek - Enum in ch.agent.t2.time
DayOfWeek enumerates the names of the days of the week starting with Sunday.
DayRankingSubPeriodPattern - Class in ch.agent.t2.applied
A DayRankingSubperiodPattern defines sub periods within a base period in terms of named days.
DayRankingSubPeriodPattern(Resolution, DayByNameAndRank[]) - Constructor for class ch.agent.t2.applied.DayRankingSubPeriodPattern
Construct a sub period pattern for the given base period and ranks.
DAYS_TO_19700101 - Static variable in interface ch.agent.t2.time.TimeDomain
 
DAYS_TO_20000101 - Static variable in interface ch.agent.t2.time.TimeDomain
 
daysInMonth(long, int) - Static method in class ch.agent.t2.time.TimeTools
Return the number of days for the indicated year and month.
daysToMonth(long, int) - Static method in class ch.agent.t2.time.TimeTools
Return the number of days in the year before the indicated month.
DefaultTimeDomainCatalog - Class in ch.agent.t2.applied
A default time domain catalog.
DefaultTimeDomainCatalog() - Constructor for class ch.agent.t2.applied.DefaultTimeDomainCatalog
Construct a DefaultTimeDomainCatalog.
DefaultTimeFormatter - Class in ch.agent.t2.time
This time formatter is used to turn a time into a string.
DefaultTimeFormatter(boolean) - Constructor for class ch.agent.t2.time.DefaultTimeFormatter
Constructor.
DefaultTimeFormatter() - Constructor for class ch.agent.t2.time.DefaultTimeFormatter
Constructor for a mode without a "T" between date and time.
DefaultTimeScanner - Class in ch.agent.t2.time
The default time scanner supports the ISO 8601:2004 international standard for the representation of calendar dates and times.
DefaultTimeScanner() - Constructor for class ch.agent.t2.time.DefaultTimeScanner
 
diff(long, long) - Static method in class ch.agent.t2.time.TimeTools
Return the difference between two positive or negative long integers.
DOMAIN - Static variable in class ch.agent.t2.applied.DateTime
A constant holding the domain.
DOMAIN - Static variable in class ch.agent.t2.applied.Month
A constant holding the domain.
DOMAIN - Static variable in class ch.agent.t2.applied.SystemTime
A constant holding the domain.
DOMAIN - Static variable in class ch.agent.t2.applied.ThirdFriday
A constant holding the domain.
DOMAIN - Static variable in class ch.agent.t2.applied.Week
A constant holding the domain.
DOMAIN - Static variable in class ch.agent.t2.applied.Workday
A constant holding the domain.
DOMAIN - Static variable in class ch.agent.t2.applied.Year
A constant holding the domain.
DOMAIN - Static variable in class ch.agent.t2.time.Day
A constant holding the domain.

E

effective() - Method in interface ch.agent.t2.time.BasePeriodPattern
Return true it the primary pattern has any effect.
effective() - Method in class ch.agent.t2.time.Cycle
 
END - Static variable in class ch.agent.t2.timeutil.DayExpression
The keyword end.
enforceValidRange(TimeDomain, DayExpression, boolean) - Method in class ch.agent.t2.timeutil.DayExpression
Enforce a valid range between the given day expression and this expression.
equals(Object) - Method in class ch.agent.t2.applied.DayByNameAndRank
 
equals(Object) - Method in class ch.agent.t2.applied.DayRankingSubPeriodPattern
 
equals(Object) - Method in class ch.agent.t2.applied.SimpleSubPeriodPattern
 
equals(Object) - Method in class ch.agent.t2.time.Cycle
 
equals(Object) - Method in class ch.agent.t2.time.Range
 
equals(Object) - Method in class ch.agent.t2.time.Time2
 
equals(Object) - Method in class ch.agent.t2.time.TimeFactory
 
exception(String, Object...) - Static method in class ch.agent.t2.T2Msg
 
exception(Throwable, String, Object...) - Static method in class ch.agent.t2.T2Msg
 
expandIndex(long) - Method in interface ch.agent.t2.time.BasePeriodPattern
Put back all removed OFF time points in a compressed numerical time index.
expandIndex(long) - Method in class ch.agent.t2.time.Cycle
 

F

f() - Method in class ch.agent.t2.time.TimeParts.HMSF
 
fill(T, long) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
fill(long) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
fill(Filler<T>) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
fill(T, long) - Method in interface ch.agent.t2.timeseries.TimeIndexable
Fill holes in the time series with the given value and append a tail of the given length.
fill(long) - Method in interface ch.agent.t2.timeseries.TimeIndexable
Fill holes in the time series by repeating the last value before each hole and append a tail by repeating the last value a given number of times.
fill(Filler<T>) - Method in interface ch.agent.t2.timeseries.TimeIndexable
Fill holes using the given procedure.
Filler<T> - Interface in ch.agent.t2.timeseries
Filler defines an interface for filling holes in a time series.
fillHole(T[], int, int) - Method in interface ch.agent.t2.timeseries.Filler
Fill the hole using some procedure.
fillInSubPeriod(int, TimeParts) - Method in class ch.agent.t2.applied.DayRankingSubPeriodPattern
 
fillInSubPeriod(int, TimeParts) - Method in class ch.agent.t2.applied.SimpleSubPeriodPattern
 
fillInSubPeriod(int, TimeParts) - Method in interface ch.agent.t2.time.SubPeriodPattern
Update the relevant field of the time parts argument for the given sub period and return a modified copy.
format(TimeParts) - Method in class ch.agent.t2.time.DefaultTimeFormatter
Generate a string representing the time in the time parts object.
format(TimeParts) - Method in class ch.agent.t2.time.TimeFactory
 
format(TimeParts) - Method in interface ch.agent.t2.time.TimeFormatter
Generate a string representing the time in the time parts object.
fromJavaDate(Date, TimeDomain) - Static method in class ch.agent.t2.timeutil.JavaDateUtil
Convert a Java Date to a TimeIndex in a given domain.
fromJavaDate(Date, TimeDomain, Adjustment, boolean) - Static method in class ch.agent.t2.timeutil.JavaDateUtil
Convert a Java Date to a TimeIndex in a given domain, with tuning parameters.

G

get() - Method in class ch.agent.t2.time.ImmutableTimeDomainCatalog
 
get(String) - Method in class ch.agent.t2.time.ImmutableTimeDomainCatalog
 
get(TimeDomainDefinition) - Method in class ch.agent.t2.time.ImmutableTimeDomainCatalog
 
get(TimeDomainDefinition) - Method in interface ch.agent.t2.time.TimeDomainCatalog
Return the time domain corresponding to the definition, ignoring the label.
get(String) - Method in interface ch.agent.t2.time.TimeDomainCatalog
Return the time domain with the given label.
get() - Method in interface ch.agent.t2.time.TimeDomainCatalog
Return all time domains defined in the catalog.
get(long) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
get(long, long) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
get(TimeIndex) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
get(Range) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
get(long, long) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
get(long, long) - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
get(Range) - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
get(long) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the value at the given numerical time index.
get(TimeIndex) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the value identified by the given time index.
get(long, long) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return a new time series corresponding to the range between two numerical time indexes.
get(Range) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return a time series constructed from the given range of this series.
getArray() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
getArray(Range) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
getArray() - Method in interface ch.agent.t2.timeseries.TimeIndexable
Return all the values in an array.
getArray(Range) - Method in interface ch.agent.t2.timeseries.TimeIndexable
Return a subrange of values in an array.
getBasePeriod() - Method in class ch.agent.t2.applied.DayRankingSubPeriodPattern
 
getBasePeriod() - Method in class ch.agent.t2.applied.SimpleSubPeriodPattern
 
getBasePeriod() - Method in interface ch.agent.t2.time.SubPeriodPattern
Return the base period resolution.
getBasePeriodPattern() - Method in class ch.agent.t2.time.TimeDomainDefinition
Return the base period pattern.
getBasePeriodPattern() - Method in class ch.agent.t2.time.TimeFactory
 
getBasePeriodPattern() - Method in interface ch.agent.t2.time.TimePacker
Return the base period pattern.
getBasePeriodSize() - Method in class ch.agent.t2.time.TimeFactory
 
getBasePeriodSize() - Method in interface ch.agent.t2.time.TimePacker
Return the number of time points within a base period.
getBasePeriodStart(TimeIndex) - Method in class ch.agent.t2.time.TimeFactory
 
getBasePeriodStart(TimeIndex) - Method in interface ch.agent.t2.time.TimePacker
Return the time index of the first time point in the base period containing the time specified.
getBaseUnit() - Method in class ch.agent.t2.time.TimeDomainDefinition
Return the resolution.
getBeginText() - Method in class ch.agent.t2.timeutil.RangeHolder
Return the text of the day expression set with setBegin.
getBundle() - Method in class ch.agent.core.MessageBundle
Return the resource bundle.
getCached() - Method in class ch.agent.t2.time.TimeDomainDefinition
For subclasses.
getCategory() - Method in class ch.agent.core.KeyedMessage
Return the message category.
getCategory() - Method in class ch.agent.core.MessageBundle
Return the category.
getDate() - Method in class ch.agent.t2.timeutil.DateHolder
Return the date evaluated in the time domain of the value holder.
getDate(Range) - Method in class ch.agent.t2.timeutil.DateHolder
Return the date evaluated in the context of the given range.
getDate(TimeDomain) - Method in class ch.agent.t2.timeutil.DayExpression
Resolve the expression in the given time domain and return the result as a time index.
getDate(Range) - Method in class ch.agent.t2.timeutil.DayExpression
Resolve the expression in the context of the given range and return the result as a time index.
getDateText() - Method in class ch.agent.t2.timeutil.DateHolder
Return the text of the day expression set with setDate.
getDay() - Method in class ch.agent.t2.time.Time2
 
getDay() - Method in interface ch.agent.t2.time.TimeIndex
Return the day component of the time.
getDay() - Method in class ch.agent.t2.time.TimeParts
Return the day.
getDayByRank(Resolution, DayOfWeek, int) - Method in class ch.agent.t2.time.Time2
 
getDayByRank(Resolution, DayOfWeek, int) - Method in interface ch.agent.t2.time.TimeIndex
Return the TimeIndex for a day defined by name and rank within a reference period.
getDayByRank(long, int, DayOfWeek, int) - Static method in class ch.agent.t2.time.TimeTools
Return the day number of the month or of the year given the day's name and rank.
getDayOfMonthByRank(TimeIndex, DayOfWeek, int) - Static method in class ch.agent.t2.time.TimeTools
Return the TimeIndex for the day defined by name and rank within the month of the indicated date.
getDayOfWeek() - Method in class ch.agent.t2.applied.DayByNameAndRank
Return the day of week.
getDayOfWeek() - Method in class ch.agent.t2.time.Time2
 
getDayOfWeek(TimeIndex) - Method in class ch.agent.t2.time.TimeFactory
 
getDayOfWeek() - Method in interface ch.agent.t2.time.TimeIndex
Return the day of the week.
getDayOfWeek(TimeIndex) - Method in interface ch.agent.t2.time.TimePacker
Return the day of week for the given time.
getDayOfWeek(Resolution, long) - Static method in class ch.agent.t2.time.TimeTools
Return the day of week for the given unit and uncompressed time index.
getDayOfYearByRank(TimeIndex, DayOfWeek, int) - Static method in class ch.agent.t2.time.TimeTools
Return the TimeIndex for the day defined by name and rank within the year of the indicated date.
getDomain() - Method in class ch.agent.t2.timeseries.Observation
Return the time domain.
getEndText() - Method in class ch.agent.t2.timeutil.RangeHolder
Return the text of the day expression set with setEnd.
getExpression() - Method in class ch.agent.t2.timeutil.DayExpression
Return the expression.
getFirst() - Method in class ch.agent.t2.time.Range
Return the lower bound as a time or null when the range is empty.
getFirst(TimeIndex) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getFirst(TimeIndex) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the observation at or after the given time.
getFirstIndex() - Method in class ch.agent.t2.time.Range
Return the lower bound as a numerical time index.
getFirstIndex() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getFirstIndex() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the numerical time index of the first element, or -1 when there is no data.
getFormatter() - Method in interface ch.agent.t2.time.TimeDomain
Return the time formatter to use when formatting times in this domain.
getFormatter() - Method in class ch.agent.t2.time.TimeFactory
 
getFractionalSecond() - Method in class ch.agent.t2.time.Time2
 
getFractionalSecond() - Method in interface ch.agent.t2.time.TimeIndex
Return the sub-second component of the time.
getFsec() - Method in class ch.agent.t2.time.TimeParts
Return the fractional second.
getFsec(Resolution) - Method in class ch.agent.t2.time.TimeParts
Return the fractional second with a given resolution.
getFsec() - Method in class ch.agent.t2.time.TimeParts.TimeZoneOffset
Return the number to subtract from the fractional second.
getHour() - Method in class ch.agent.t2.time.Time2
 
getHour() - Method in interface ch.agent.t2.time.TimeIndex
Return the hour component of the time.
getHour() - Method in class ch.agent.t2.time.TimeParts
Return the hour.
getHour() - Method in class ch.agent.t2.time.TimeParts.TimeZoneOffset
Return the number to subtract from the hour.
getIndex() - Method in class ch.agent.t2.timeseries.Observation
Return the numerical time index.
getKey() - Method in class ch.agent.core.KeyedMessage
Return the message key.
getLabel() - Method in interface ch.agent.t2.time.TimeDomain
Return the label of the time domain, uniquely identifying the domain when using a TimeDomainCatalog.
getLabel() - Method in class ch.agent.t2.time.TimeDomainDefinition
Return the label.
getLabel() - Method in class ch.agent.t2.time.TimeFactory
 
getLargeIncrement(Resolution) - Static method in class ch.agent.t2.timeutil.DateHolder
Return the number of units for a large increment in the given resolution.
getLast() - Method in class ch.agent.t2.time.Range
r Return the upper bound as a time o null when the range is empty.
getLast(TimeIndex) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getLast(TimeIndex) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the observation at or before the given time.
getLastIndex() - Method in class ch.agent.t2.time.Range
Return the upper bound as a numerical time index.
getLastIndex() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getLastIndex() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the numerical time index of the last element, or -1 when there is no data.
getMaxGap() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
getMaxGap() - Method in interface ch.agent.t2.timeseries.TimeIndexable
Return the maximum allowed length of a single run of missing values.
getMaxRank(Resolution) - Method in class ch.agent.t2.applied.DayByNameAndRank
Return the maximum rank even if it is not always achievable.
getMessage() - Method in exception ch.agent.core.KeyedException
 
getMessage() - Method in class ch.agent.core.KeyedMessage
Return the formatted text of the message.
getMin() - Method in class ch.agent.t2.time.TimeParts
Return the minute.
getMin() - Method in class ch.agent.t2.time.TimeParts.TimeZoneOffset
Return the number to subtract from the minute.
getMinute() - Method in class ch.agent.t2.time.Time2
 
getMinute() - Method in interface ch.agent.t2.time.TimeIndex
Return the minute component of the time.
getMissingValue() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getMissingValue() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the object representing missing values.
getMonth() - Method in class ch.agent.t2.time.Time2
 
getMonth() - Method in interface ch.agent.t2.time.TimeIndex
Return the month component of the time.
getMonth() - Method in class ch.agent.t2.time.TimeParts
Return the month.
getMsg() - Method in exception ch.agent.core.KeyedException
Return the keyed message describing the exception.
getOrigin() - Method in interface ch.agent.t2.time.TimeDomain
Return the origin of the time domain.
getOrigin() - Method in class ch.agent.t2.time.TimeDomainDefinition
Return the origin.
getOrigin() - Method in class ch.agent.t2.time.TimeFactory
 
getPacker() - Method in interface ch.agent.t2.time.TimeDomain
Return the time packer to use for processing times in this domain.
getPacker() - Method in class ch.agent.t2.time.TimeFactory
 
getRange() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getRange() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the range of the time series.
getRange() - Method in class ch.agent.t2.timeutil.RangeHolder
Get the range evaluated in the time domain of the range holder.
getRange(TimeDomain) - Method in class ch.agent.t2.timeutil.RangeHolder
Get the range evaluated in the context of the given domain.
getRange(Range) - Method in class ch.agent.t2.timeutil.RangeHolder
Get the range evaluated in the context of the given range.
getRank() - Method in class ch.agent.t2.applied.DayByNameAndRank
Return the rank.
getResolution() - Method in interface ch.agent.t2.time.TimeDomain
Return the resolution of the time domain.
getResolution() - Method in class ch.agent.t2.time.TimeFactory
 
getResolution() - Method in class ch.agent.t2.time.TimeParts
Return the time resolution.
getScanner() - Method in interface ch.agent.t2.time.TimeDomain
Return the time scanner to use when scanning strings as times in this domain.
getScanner() - Method in class ch.agent.t2.time.TimeFactory
 
getSec() - Method in class ch.agent.t2.time.TimeParts
Return the second.
getSec() - Method in class ch.agent.t2.time.TimeParts.TimeZoneOffset
Return the number to subtract from the second.
getSecond() - Method in class ch.agent.t2.time.Time2
 
getSecond() - Method in interface ch.agent.t2.time.TimeIndex
Return the second component of the time.
getSize() - Method in class ch.agent.t2.applied.DayRankingSubPeriodPattern
 
getSize() - Method in class ch.agent.t2.applied.SimpleSubPeriodPattern
 
getSize() - Method in interface ch.agent.t2.time.BasePeriodPattern
Return the number of time points in the pattern.
getSize() - Method in class ch.agent.t2.time.Cycle
 
getSize() - Method in class ch.agent.t2.time.Range
Return the range size.
getSize() - Method in interface ch.agent.t2.time.SubPeriodPattern
Return the number of sub periods.
getSize() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getSize() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the number of values.
getSizeAsInt() - Method in class ch.agent.t2.time.Range
Get the size of the range as an integer and check for overflow.
getSubPeriod() - Method in class ch.agent.t2.applied.DayRankingSubPeriodPattern
 
getSubPeriod() - Method in class ch.agent.t2.applied.SimpleSubPeriodPattern
 
getSubPeriod() - Method in interface ch.agent.t2.time.SubPeriodPattern
Return the sub period resolution.
getSubPeriodPattern() - Method in class ch.agent.t2.time.TimeDomainDefinition
Return the sub period pattern.
getSubPeriodPattern() - Method in class ch.agent.t2.time.TimeFactory
 
getSubPeriodPattern() - Method in interface ch.agent.t2.time.TimePacker
Return the sub period pattern.
getTime() - Method in class ch.agent.t2.timeseries.Observation
Return the time index.
getTimeDomain() - Method in class ch.agent.t2.time.Range
Return the time domain.
getTimeDomain() - Method in class ch.agent.t2.time.Time2
 
getTimeDomain() - Method in interface ch.agent.t2.time.TimeIndex
Return the time domain.
getTimeDomain() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getTimeDomain() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the time domain of the time series.
getTimeDomain() - Method in class ch.agent.t2.timeutil.DateHolder
Return the time domain.
getTimeDomain() - Method in class ch.agent.t2.timeutil.RangeHolder
Return the time domain.
getType() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
getType() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the type of he observations.
getTZOffset() - Method in class ch.agent.t2.time.TimeParts
Return the time zone offset.
getValue() - Method in class ch.agent.t2.timeseries.Observation
Return the value.
getValueCount() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
getValueCount() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
getValueCount() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return the number of non-missing values.
getYear() - Method in class ch.agent.t2.time.Time2
 
getYear() - Method in interface ch.agent.t2.time.TimeIndex
Return the year component of the time.
getYear() - Method in class ch.agent.t2.time.TimeParts
Return the year.

H

h() - Method in class ch.agent.t2.time.TimeParts.HMSF
 
hashCode() - Method in class ch.agent.t2.applied.DayByNameAndRank
 
hashCode() - Method in class ch.agent.t2.applied.DayRankingSubPeriodPattern
 
hashCode() - Method in class ch.agent.t2.applied.SimpleSubPeriodPattern
 
hashCode() - Method in class ch.agent.t2.time.Cycle
 
hashCode() - Method in class ch.agent.t2.time.Range
 
hashCode() - Method in class ch.agent.t2.time.Time2
 
hashCode() - Method in class ch.agent.t2.time.TimeFactory
 
hasNext() - Method in class ch.agent.t2.time.Range.RangeIterator
 
hasNext() - Method in class ch.agent.t2.timeseries.RegularTimeSeries.TimeSeriesIterator
 
hasNext() - Method in class ch.agent.t2.timeseries.SparseTimeSeries.IrregularTimeSeriesIterator
 
HMSF(int, int, int, int) - Constructor for class ch.agent.t2.time.TimeParts.HMSF
Constructor.

I

ImmutableTimeDomainCatalog - Class in ch.agent.t2.time
ImmutableTimeDomainCatalog implements the behavior of an immutable time domain catalog.
ImmutableTimeDomainCatalog(TimeDomain...) - Constructor for class ch.agent.t2.time.ImmutableTimeDomainCatalog
Constructor.
incr(int) - Method in class ch.agent.t2.timeutil.DayExpression
Add the given increment to the expression.
incrBegin(int) - Method in class ch.agent.t2.timeutil.RangeHolder
Increment the beginning of the range by the given amount.
incrBegin(boolean, boolean) - Method in class ch.agent.t2.timeutil.RangeHolder
Increase or decrease the beginning of the range by a unit or by a large amount.
incrDate(int) - Method in class ch.agent.t2.timeutil.DateHolder
Increment the date by the given amount.
incrDate(boolean, boolean) - Method in class ch.agent.t2.timeutil.DateHolder
Increase or decrease the date by a unit or by a large amount.
incrEnd(int) - Method in class ch.agent.t2.timeutil.RangeHolder
Increment the end of the range by the given amount.
incrEnd(boolean, boolean) - Method in class ch.agent.t2.timeutil.RangeHolder
Increase or decrease the end of the range by a unit or by a large amount.
internalClear() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Remove all values from the time series.
internalClear() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalClear() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalGet(long) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Get the value identified by the given numerical time index.
internalGet(long) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalGet(long) - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalGetData() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Return all values as a Collection.
internalGetData() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalGetData() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalGetFirst(long) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Return the observation at or after the given numerical time index.
internalGetFirst(long) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalGetFirst(long) - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalGetFirstIndex() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Return the numerical time index of the first element.
internalGetFirstIndex() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalGetFirstIndex() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalGetLast(long) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Return the observation at or before the given numerical time index.
internalGetLast(long) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalGetLast(long) - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalGetLastIndex() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Return the numerical time index of the last element.
internalGetLastIndex() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalGetLastIndex() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalGetSize() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Return the used size of the data structure where values are stored.
internalGetSize() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalGetSize() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalPut(long, T) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Put the value into the series at the given numerical time index.
internalPut(long, T) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalPut(long, T) - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalRemove(long) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Remove the value at the given numerical time index.
internalRemove(long) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalRemove(long) - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
internalSetBounds(long, long) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Shrink the range to the one given by the two numerical time indexes.
internalSetBounds(long, long) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
internalSetBounds(long, long) - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
intersection(Range) - Method in class ch.agent.t2.time.Range
Return a new range which is the intersection with the argument.
IrregularTimeSeriesIterator() - Constructor for class ch.agent.t2.timeseries.SparseTimeSeries.IrregularTimeSeriesIterator
Construct a IrregularTimeSeriesIterator.
isEmpty() - Method in class ch.agent.t2.time.Range
Return true if the range is empty, else false.
isIndexable() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
isIndexable() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
isIndexable() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return true if the time series implements TimeIndexable.
isInRange(long) - Method in class ch.agent.t2.time.Range
Return true if the numerical time index is within range.
isInRange(TimeIndex) - Method in class ch.agent.t2.time.Range
Return true if the time is within range.
isInRange(Range) - Method in class ch.agent.t2.time.Range
Return true if another range is within range.
isLeap(long) - Static method in class ch.agent.t2.time.TimeTools
Return true if the given year is a leap year.
isMissing(T) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
isMissing(T) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Return true if the given value is missing.
isNegative() - Method in class ch.agent.t2.time.TimeParts.TimeZoneOffset
Return true is offset is negative.
isToday() - Method in class ch.agent.t2.timeutil.DayExpression
Return true if the expression includes the keyword today.
isWeekEnd() - Method in class ch.agent.t2.time.Day
Return true if the day falls on a weekend.
iterator() - Method in class ch.agent.t2.time.Range
 
iterator() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
iterator() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
iterator() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Returns an iterator over the Observations in the time series ordered by increasing time index.
iterator() - Method in interface ch.agent.t2.timeseries.TimeIndexable
Returns an iterator over the Observations in the time series ordered by increasing time index.

J

JavaDateUtil - Class in ch.agent.t2.timeutil
JavaDateUtil converts between TimeIndex and Java Date.
JavaDateUtil() - Constructor for class ch.agent.t2.timeutil.JavaDateUtil
 

K

K() - Constructor for class ch.agent.t2.T2Msg.K
 
KeyedException - Exception in ch.agent.core
A keyed exception is an Exception with a KeyedMessage instead of a string.
KeyedException(KeyedMessage) - Constructor for exception ch.agent.core.KeyedException
Construct an exception with a keyed message.
KeyedException(KeyedMessage, Throwable) - Constructor for exception ch.agent.core.KeyedException
Construct an exception with a keyed message and the causing exception.
KeyedMessage - Class in ch.agent.core
A keyed message is a text identified by a key unique within a category.
KeyedMessage(String, MessageBundle, Object...) - Constructor for class ch.agent.core.KeyedMessage
Construct a keyed message.

L

LABEL - Static variable in class ch.agent.t2.applied.DateTime
A constant holding the domain label.
LABEL - Static variable in class ch.agent.t2.applied.Month
A constant holding the domain label.
LABEL - Static variable in class ch.agent.t2.applied.SystemTime
A constant holding the domain label.
LABEL - Static variable in class ch.agent.t2.applied.ThirdFriday
A constant holding the domain label.
LABEL - Static variable in class ch.agent.t2.applied.Week
A constant holding the domain label.
LABEL - Static variable in class ch.agent.t2.applied.Workday
A constant holding the domain label.
LABEL - Static variable in class ch.agent.t2.applied.Year
A constant holding the domain label.
LABEL - Static variable in class ch.agent.t2.time.Day
A constant holding the domain label.
leapYears(long) - Static method in class ch.agent.t2.time.TimeTools
Return the number of leap years between year 0 and the year preceding the given year.

M

m() - Method in class ch.agent.t2.time.TimeParts.HMSF
 
m() - Method in class ch.agent.t2.time.TimeParts.YMD
 
make(Class<X>, TimeDomain, boolean) - Static method in class ch.agent.t2.timeseries.AbstractTimeSeries
Construct a time series of the type and domain specified.
makeEmptyCopy() - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
makeEmptyCopy() - Method in class ch.agent.t2.timeseries.SparseTimeSeries
 
makeEmptyCopy() - Method in interface ch.agent.t2.timeseries.TimeAddressable
Make a copy of the time series but without the values.
makeEmptyCopy() - Method in interface ch.agent.t2.timeseries.TimeIndexable
 
makeIndex(long) - Method in interface ch.agent.t2.time.BasePeriodPattern
Compress an unrestricted numerical time index by removing all OFF time points.
makeIndex(long) - Method in class ch.agent.t2.time.Cycle
 
makeRawIndex(Resolution, TimeParts) - Static method in class ch.agent.t2.time.TimeTools
Return a long number representing a time parts object.
matches(boolean[]) - Method in class ch.agent.t2.time.Cycle
Return true if the given pattern equals this pattern.
MAXGAP_PROPERTY - Static variable in class ch.agent.t2.timeseries.RegularTimeSeries
 
maxTime() - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex giving the maximum time in this domain.
maxTime(boolean) - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex giving the maximum time in this domain.
maxTime() - Method in class ch.agent.t2.time.TimeFactory
 
maxTime(boolean) - Method in class ch.agent.t2.time.TimeFactory
 
MessageBundle - Class in ch.agent.core
A message bundle encapsulates a ResourceBundle and a category.
MessageBundle(String, ResourceBundle) - Constructor for class ch.agent.core.MessageBundle
Construct a message bundle and assign it a category.
minTime() - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex giving the minimum time in this domain.
minTime(boolean) - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex giving the minimum time in this domain.
minTime() - Method in class ch.agent.t2.time.TimeFactory
 
minTime(boolean) - Method in class ch.agent.t2.time.TimeFactory
 
Month - Class in ch.agent.t2.applied
A Month is a Time2 with month resolution.
Month(TimeIndex) - Constructor for class ch.agent.t2.applied.Month
Construct a monthly time from another time object.
Month(String) - Constructor for class ch.agent.t2.applied.Month
Construct a monthly time from a string.
Month(long, int) - Constructor for class ch.agent.t2.applied.Month
Construct a monthly time from the given time components.
msg - Variable in exception ch.agent.core.KeyedException
 

N

needContext() - Method in class ch.agent.t2.timeutil.DayExpression
Return true if the expression requires a context.
needContext() - Method in class ch.agent.t2.timeutil.RangeHolder
Return true if the range holder needs a context for evaluating dates.
next() - Method in class ch.agent.t2.time.Range.RangeIterator
 
next() - Method in class ch.agent.t2.timeseries.RegularTimeSeries.TimeSeriesIterator
 
next() - Method in class ch.agent.t2.timeseries.SparseTimeSeries.IrregularTimeSeriesIterator
 
normalize2DigitYear(int) - Static method in class ch.agent.t2.timeutil.TimeUtil
Interpret a positive 2-digit year between 90 and 99 in the 1990s and all others in the 2000s.
normalizeMissingValue(T) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
Replace all objects equal to the missing value with the "official" missing value object.
now(TimeDomain) - Static method in class ch.agent.t2.timeutil.TimeUtil
Return the current date and time.

O

Observation<T> - Class in ch.agent.t2.timeseries
An Observation is an element of a time series.
Observation(TimeDomain, long, T) - Constructor for class ch.agent.t2.timeseries.Observation
Construct an observation.
Observation(TimeIndex, T) - Constructor for class ch.agent.t2.timeseries.Observation
Construct an observation with a time index.

P

pack(TimeParts, Adjustment) - Method in class ch.agent.t2.time.TimeFactory
 
pack(TimeParts, Adjustment) - Method in interface ch.agent.t2.time.TimePacker
Pack the component elements of the time into a numeric time index.
parseDay(String) - Static method in class ch.agent.t2.timeutil.DayExpression
Parse the expression as a date in the daily calendar and returns it as a Day.
parseDay(String, TimeDomain, Adjustment) - Static method in class ch.agent.t2.timeutil.DayExpression
Parse the expression as a date in the daily calendar and returns it as a TimeIndex in the domain requested, adjusted as indicated.
prod(long, long) - Static method in class ch.agent.t2.time.TimeTools
Return the product of two positive or negative long integers.
put(long, T) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
put(long, T[]) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
put(TimeAddressable<T>, UpdateReviewer<T>) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
put(TimeIndex, T) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
put(TimeIndex, T[]) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
put(long, T[]) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
put(TimeAddressable<T>, UpdateReviewer<T>) - Method in class ch.agent.t2.timeseries.RegularTimeSeries
 
put(TimeIndex, T) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Put a value identified by a time index into the time series.
put(TimeIndex, T[]) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Put an array of values identified with time index of its first element into the time series.
put(long, T) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Put a value identified by a numerical time index into the time series.
put(long, T[]) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Put an array of values identified with the numerical time index of its first element into the time series.
put(TimeAddressable<T>, UpdateReviewer<T>) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Conditionally put all values from another time series into this time series.

R

Range - Class in ch.agent.t2.time
A Range is an immutable time interval in a TimeDomain.
Range(TimeDomain) - Constructor for class ch.agent.t2.time.Range
Construct an empty range.
Range(Range) - Constructor for class ch.agent.t2.time.Range
Construct a range as a copy of the argument.
Range(TimeDomain, long, long) - Constructor for class ch.agent.t2.time.Range
Construct a range with bounds specified with numerical time indexes,.
Range(TimeIndex, TimeIndex) - Constructor for class ch.agent.t2.time.Range
Construct a range with bounds specified as times.
Range(TimeDomain, String, String, Adjustment) - Constructor for class ch.agent.t2.time.Range
Construct a range with bounds specified as date strings.
Range.RangeIterator - Class in ch.agent.t2.time
RangeIterator is a Iterator return TimeIndex objects.
RangeHolder - Class in ch.agent.t2.timeutil
A RangeHolder helps applications manipulate time ranges.
RangeHolder(TimeDomain) - Constructor for class ch.agent.t2.timeutil.RangeHolder
Construct a range holder with the given time domain and initialized with the current time.
RangeHolder() - Constructor for class ch.agent.t2.timeutil.RangeHolder
Construct a range holder in the daily time domain and initialized with the current time.
RangeHolder(Range) - Constructor for class ch.agent.t2.timeutil.RangeHolder
Construct a range holder for the given range.
RangeHolder(RangeHolder) - Constructor for class ch.agent.t2.timeutil.RangeHolder
Construct a range holder as a copy of the given model.
RangeIterator(Range) - Constructor for class ch.agent.t2.time.Range.RangeIterator
 
RegularTimeSeries<T> - Class in ch.agent.t2.timeseries
RegularTimeSeries implements TimeIndexable.
RegularTimeSeries(Class<T>, TimeDomain, T) - Constructor for class ch.agent.t2.timeseries.RegularTimeSeries
Construct a regular time series.
RegularTimeSeries(Class<T>, TimeDomain) - Constructor for class ch.agent.t2.timeseries.RegularTimeSeries
Construct a regular time series.
RegularTimeSeries.TimeSeriesIterator - Class in ch.agent.t2.timeseries
TimeSeriesIterator is an Iterator returning Observation objects.
remove() - Method in class ch.agent.t2.time.Range.RangeIterator
 
remove(TimeIndex) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
remove() - Method in class ch.agent.t2.timeseries.RegularTimeSeries.TimeSeriesIterator
 
remove() - Method in class ch.agent.t2.timeseries.SparseTimeSeries.IrregularTimeSeriesIterator
 
remove(TimeIndex) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Remove the value identified by the time index.
requireEquality(TimeDomain) - Method in interface ch.agent.t2.time.TimeDomain
Throw an exception if the domain is not equal to this domain.
requireEquality(TimeDomain) - Method in class ch.agent.t2.time.TimeFactory
 
reset(TimeDomain) - Method in class ch.agent.t2.timeutil.DateHolder
Change the time domain.
reset(DayExpression) - Method in class ch.agent.t2.timeutil.DayExpression
Change the expression to match the given model.
reset(Range) - Method in class ch.agent.t2.timeutil.RangeHolder
Change the range to the given range.
reset(TimeDomain) - Method in class ch.agent.t2.timeutil.RangeHolder
Change the time domain of the range holder.
resetToCurrentTime() - Method in class ch.agent.t2.timeutil.DateHolder
Change the date to the current time.
Resolution - Enum in ch.agent.t2.time
Resolution defines the available units of time, from years to nanoseconds.
runtimeException(String, Throwable) - Static method in class ch.agent.t2.T2Msg
 

S

s() - Method in class ch.agent.t2.time.TimeParts.HMSF
 
scan(Resolution, String) - Method in class ch.agent.t2.time.DefaultTimeScanner
 
scan(Resolution, String) - Method in class ch.agent.t2.time.TimeFactory
 
scan(Resolution, String) - Method in interface ch.agent.t2.time.TimeScanner
Scan the date string into a time parts object.
scan(String) - Method in class ch.agent.t2.timeutil.DateTimeScanner
Scan the date using the default domain.
scan(TimeDomain, String) - Method in class ch.agent.t2.timeutil.DateTimeScanner
Scan the date in the given time domain.
setBegin(String) - Method in class ch.agent.t2.timeutil.RangeHolder
Set the date for the range beginning.
setCached(TimeDomain) - Method in class ch.agent.t2.time.TimeDomainDefinition
For subclasses.
setDate(String) - Method in class ch.agent.t2.timeutil.DateHolder
Set the date.
setDomain(TimeDomain) - Method in class ch.agent.t2.timeutil.DateTimeScanner
Set the default time domain.
setEnd(String) - Method in class ch.agent.t2.timeutil.RangeHolder
Set the date for the range end.
setExpression(TimeDomain, String) - Method in class ch.agent.t2.timeutil.DayExpression
Set the domain and the expression.
setMonths(String[]) - Method in class ch.agent.t2.timeutil.DateTimeScanner
Define textual months.
setRange(Range) - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
setRange(Range) - Method in interface ch.agent.t2.timeseries.TimeAddressable
Set the range to the intersection of the current range with the given range.
setTime(TimeIndex) - Method in class ch.agent.t2.timeutil.DayExpression
Set the time of the expression to the given time index.
setTwoDigitYearThreshold(int) - Method in class ch.agent.t2.timeutil.DateTimeScanner
Set a threshold to trigger special handling of two digit years.
similar(TimeDomain) - Method in interface ch.agent.t2.time.TimeDomain
Compare to another time domain, ignoring label.
similar(TimeDomain) - Method in class ch.agent.t2.time.TimeFactory
 
SimpleSubPeriodPattern - Class in ch.agent.t2.applied
A SimpleSubPeriodPattern defines one or more sub periods within a base period.
SimpleSubPeriodPattern(Resolution, Resolution, int[]) - Constructor for class ch.agent.t2.applied.SimpleSubPeriodPattern
Construct a sub period pattern with the given base period and sub period resolutions, and with the given ranks.
SparseTimeSeries<T> - Class in ch.agent.t2.timeseries
SparseTimeSeries implements TimeAddressable.
SparseTimeSeries(Class<T>, TimeDomain, T) - Constructor for class ch.agent.t2.timeseries.SparseTimeSeries
Construct a sparse time series with the given type, time domain and missing value.
SparseTimeSeries(Class<T>, TimeDomain) - Constructor for class ch.agent.t2.timeseries.SparseTimeSeries
Construct a sparse time series with the given type and time domain.
SparseTimeSeries.IrregularTimeSeriesIterator - Class in ch.agent.t2.timeseries
IrregularTimeSeriesIterator is an Iterator returning Observation objects.
START - Static variable in class ch.agent.t2.timeutil.DayExpression
The keyword start.
sub(TimeIndex) - Method in class ch.agent.t2.time.Time2
 
sub(TimeIndex) - Method in interface ch.agent.t2.time.TimeIndex
Return the number of time units since the time specified as argument.
SubPeriodPattern - Interface in ch.agent.t2.time
A SubperiodPattern defines a set of higher resolution time points within a base unit.
sum(long, long) - Static method in class ch.agent.t2.time.TimeTools
Return the sum of two positive or negative long integers.
SystemTime - Class in ch.agent.t2.applied
A SystemTime is a Time2 time with millisecond resolution and the origin at 1970-01-01.
SystemTime(TimeIndex) - Constructor for class ch.agent.t2.applied.SystemTime
Construct a systemtime time from another time object.
SystemTime() - Constructor for class ch.agent.t2.applied.SystemTime
Constructs the current time in the systemtime domain.
SystemTime(long) - Constructor for class ch.agent.t2.applied.SystemTime
Construct a systemtime from a Java fast time.
SystemTime(String) - Constructor for class ch.agent.t2.applied.SystemTime
Construct a systemtime time from a string.
SystemTime(long, int, int, int, int, int, int) - Constructor for class ch.agent.t2.applied.SystemTime
Construct a systemtime time from the given time components.

T

T0001 - Static variable in class ch.agent.t2.T2Msg.K
 
T0003 - Static variable in class ch.agent.t2.T2Msg.K
 
T0004 - Static variable in class ch.agent.t2.T2Msg.K
 
T0005 - Static variable in class ch.agent.t2.T2Msg.K
 
T0006 - Static variable in class ch.agent.t2.T2Msg.K
 
T0007 - Static variable in class ch.agent.t2.T2Msg.K
 
T0012 - Static variable in class ch.agent.t2.T2Msg.K
 
T0014 - Static variable in class ch.agent.t2.T2Msg.K
 
T0015 - Static variable in class ch.agent.t2.T2Msg.K
 
T0016 - Static variable in class ch.agent.t2.T2Msg.K
 
T0017 - Static variable in class ch.agent.t2.T2Msg.K
 
T1013 - Static variable in class ch.agent.t2.T2Msg.K
 
T1014 - Static variable in class ch.agent.t2.T2Msg.K
 
T1015 - Static variable in class ch.agent.t2.T2Msg.K
 
T1016 - Static variable in class ch.agent.t2.T2Msg.K
 
T1017 - Static variable in class ch.agent.t2.T2Msg.K
 
T1018 - Static variable in class ch.agent.t2.T2Msg.K
 
T1019 - Static variable in class ch.agent.t2.T2Msg.K
 
T1021 - Static variable in class ch.agent.t2.T2Msg.K
 
T1022 - Static variable in class ch.agent.t2.T2Msg.K
 
T1023 - Static variable in class ch.agent.t2.T2Msg.K
 
T1025 - Static variable in class ch.agent.t2.T2Msg.K
 
T1026 - Static variable in class ch.agent.t2.T2Msg.K
 
T1027 - Static variable in class ch.agent.t2.T2Msg.K
 
T1051 - Static variable in class ch.agent.t2.T2Msg.K
 
T1052 - Static variable in class ch.agent.t2.T2Msg.K
 
T1053 - Static variable in class ch.agent.t2.T2Msg.K
 
T1054 - Static variable in class ch.agent.t2.T2Msg.K
 
T1055 - Static variable in class ch.agent.t2.T2Msg.K
 
T1058 - Static variable in class ch.agent.t2.T2Msg.K
 
T1059 - Static variable in class ch.agent.t2.T2Msg.K
 
T1060 - Static variable in class ch.agent.t2.T2Msg.K
 
T1068 - Static variable in class ch.agent.t2.T2Msg.K
 
T1069 - Static variable in class ch.agent.t2.T2Msg.K
 
T1070 - Static variable in class ch.agent.t2.T2Msg.K
 
T1071 - Static variable in class ch.agent.t2.T2Msg.K
 
T1072 - Static variable in class ch.agent.t2.T2Msg.K
 
T1073 - Static variable in class ch.agent.t2.T2Msg.K
 
T1074 - Static variable in class ch.agent.t2.T2Msg.K
 
T1075 - Static variable in class ch.agent.t2.T2Msg.K
 
T1076 - Static variable in class ch.agent.t2.T2Msg.K
 
T1077 - Static variable in class ch.agent.t2.T2Msg.K
 
T1078 - Static variable in class ch.agent.t2.T2Msg.K
 
T1079 - Static variable in class ch.agent.t2.T2Msg.K
 
T1081 - Static variable in class ch.agent.t2.T2Msg.K
 
T1082 - Static variable in class ch.agent.t2.T2Msg.K
 
T1083 - Static variable in class ch.agent.t2.T2Msg.K
 
T1084 - Static variable in class ch.agent.t2.T2Msg.K
 
T1085 - Static variable in class ch.agent.t2.T2Msg.K
 
T1086 - Static variable in class ch.agent.t2.T2Msg.K
 
T1112 - Static variable in class ch.agent.t2.T2Msg.K
 
T1113 - Static variable in class ch.agent.t2.T2Msg.K
 
T1114 - Static variable in class ch.agent.t2.T2Msg.K
 
T1115 - Static variable in class ch.agent.t2.T2Msg.K
 
T1116 - Static variable in class ch.agent.t2.T2Msg.K
 
T1117 - Static variable in class ch.agent.t2.T2Msg.K
 
T1118 - Static variable in class ch.agent.t2.T2Msg.K
 
T2Exception - Exception in ch.agent.t2
T2Exception is thrown by methods of the Time2 library when they need to throw a checked exception.
T2Exception(KeyedMessage) - Constructor for exception ch.agent.t2.T2Exception
Construct an exception with a keyed message.
T2Exception(KeyedMessage, Throwable) - Constructor for exception ch.agent.t2.T2Exception
Construct an exception with a keyed message and the causing exception.
T2Msg - Class in ch.agent.t2
T2Msg provides keyed messages to all ch.agent.t2.* packages.
T2Msg(String, Object...) - Constructor for class ch.agent.t2.T2Msg
 
T2Msg.K - Class in ch.agent.t2
 
T5005 - Static variable in class ch.agent.t2.T2Msg.K
 
T5008 - Static variable in class ch.agent.t2.T2Msg.K
 
T5009 - Static variable in class ch.agent.t2.T2Msg.K
 
T5011 - Static variable in class ch.agent.t2.T2Msg.K
 
T5012 - Static variable in class ch.agent.t2.T2Msg.K
 
T5013 - Static variable in class ch.agent.t2.T2Msg.K
 
T5014 - Static variable in class ch.agent.t2.T2Msg.K
 
T5015 - Static variable in class ch.agent.t2.T2Msg.K
 
T5016 - Static variable in class ch.agent.t2.T2Msg.K
 
T5017 - Static variable in class ch.agent.t2.T2Msg.K
 
T5018 - Static variable in class ch.agent.t2.T2Msg.K
 
T5019 - Static variable in class ch.agent.t2.T2Msg.K
 
T5020 - Static variable in class ch.agent.t2.T2Msg.K
 
T5031 - Static variable in class ch.agent.t2.T2Msg.K
 
T7015 - Static variable in class ch.agent.t2.T2Msg.K
 
T7016 - Static variable in class ch.agent.t2.T2Msg.K
 
T7017 - Static variable in class ch.agent.t2.T2Msg.K
 
T7018 - Static variable in class ch.agent.t2.T2Msg.K
 
T7019 - Static variable in class ch.agent.t2.T2Msg.K
 
T7021 - Static variable in class ch.agent.t2.T2Msg.K
 
T7023 - Static variable in class ch.agent.t2.T2Msg.K
 
T7025 - Static variable in class ch.agent.t2.T2Msg.K
 
T7026 - Static variable in class ch.agent.t2.T2Msg.K
 
T7027 - Static variable in class ch.agent.t2.T2Msg.K
 
ThirdFriday - Class in ch.agent.t2.applied
A ThirdFriday is a Time2 with month base resolution and one day each month falling on the 3d Friday.
ThirdFriday(TimeIndex) - Constructor for class ch.agent.t2.applied.ThirdFriday
Construct a friday3 time from another time object.
ThirdFriday(String, Adjustment) - Constructor for class ch.agent.t2.applied.ThirdFriday
Construct a friday3 time from a string.
ThirdFriday(long, int) - Constructor for class ch.agent.t2.applied.ThirdFriday
Construct a friday3 time from the given time components.
time(long) - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex corresponding to the given index.
time(String) - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex corresponding to the given date string.
time(String, Adjustment) - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex corresponding to the given date string.
time(long, int, int, int, int, int, int, Adjustment) - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex corresponding to the list of parameters.
time(long, int, int, int, int, int, int, Adjustment) - Method in class ch.agent.t2.time.TimeFactory
 
time(String) - Method in class ch.agent.t2.time.TimeFactory
 
time(String, Adjustment) - Method in class ch.agent.t2.time.TimeFactory
 
time(long) - Method in class ch.agent.t2.time.TimeFactory
 
Time2 - Class in ch.agent.t2.time
Time2 implements the behavior of TimeIndex as an immutable object.
Time2(TimeDomain, long) - Constructor for class ch.agent.t2.time.Time2
Construct a time index with the given time domain and numerical time index.
Time2(TimeDomain, long, int, int, int, int, int, int, Adjustment) - Constructor for class ch.agent.t2.time.Time2
Construct a time index with the given time domain and parameters.
Time2(TimeDomain, TimeParts, Adjustment) - Constructor for class ch.agent.t2.time.Time2
Constructor a time index from a time parts object with an adjustment parameter.
Time2(TimeDomain, String, Adjustment) - Constructor for class ch.agent.t2.time.Time2
Construct a time index with the given time domain and string, with possible adjustment.
Time2(TimeDomain, String) - Constructor for class ch.agent.t2.time.Time2
Construct a time index with the given time domain and string.
TimeAddressable<T> - Interface in ch.agent.t2.timeseries
A TimeAddressable is the most general time series, a collection of objects of a given type, each one associated to a distinct time index.
TimeDomain - Interface in ch.agent.t2.time
The time domain is an immutable object encapsulating all fundamental properties of a time index.
TimeDomainCatalog - Interface in ch.agent.t2.time
TimeDomainCatalog is an interface for retrieving TimeDomain objects.
TimeDomainDefinition - Class in ch.agent.t2.time
TimeDomainDefinition is a helper class encapsulating properties of a time domain.
TimeDomainDefinition(String, Resolution, long, BasePeriodPattern, SubPeriodPattern) - Constructor for class ch.agent.t2.time.TimeDomainDefinition
Construct a definition with the given label and properties.
TimeDomainDefinition(String, Resolution, long, BasePeriodPattern) - Constructor for class ch.agent.t2.time.TimeDomainDefinition
Construct a definition with the given label and properties.
TimeDomainDefinition(String, Resolution, long) - Constructor for class ch.agent.t2.time.TimeDomainDefinition
Construct a definition with the given label and properties.
TimeFactory - Class in ch.agent.t2.time
A TimeFactory makes TimeIndex objects and acts as an immutable TimeDomain.
TimeFactory(TimeDomainDefinition, TimeFormatter, TimeScanner) - Constructor for class ch.agent.t2.time.TimeFactory
Construct a TimeFactory for the given time domain.
TimeFactory(TimeDomainDefinition) - Constructor for class ch.agent.t2.time.TimeFactory
Constructor providing a default time formatter and time scanner.
TimeFactory(TimeDomainDefinition, TimeFormatter) - Constructor for class ch.agent.t2.time.TimeFactory
Constructor providing a default time scanner.
TimeFormatter - Interface in ch.agent.t2.time
A time formatter is used to turn a time into a string.
timeFromOffset(long) - Method in interface ch.agent.t2.time.TimeDomain
Return a new TimeIndex corresponding to the given offset.
timeFromOffset(long) - Method in class ch.agent.t2.time.TimeFactory
 
TimeIndex - Interface in ch.agent.t2.time
A TimeIndex object represents a time, or more precisely, a point in time.
TimeIndexable<T> - Interface in ch.agent.t2.timeseries
A TimeIndexable is a TimeAddressable where the range size can be stored in a 32 bit integer, and with a value for all time units in the range.
TimePacker - Interface in ch.agent.t2.time
TimePacker defines the backend interface for the machinery implementing TimeDomain and TimeIndex.
TimeParts - Class in ch.agent.t2.time
A TimeParts object groups the components of date and time, from the year down to the fraction of a second.
TimeParts(Resolution, long, int, int, int, int, int, int, TimeParts.TimeZoneOffset) - Constructor for class ch.agent.t2.time.TimeParts
Constructor.
TimeParts(Resolution, long, int, int, int, int, int, int) - Constructor for class ch.agent.t2.time.TimeParts
Constructor with a default time zone offset.
TimeParts.HMSF - Class in ch.agent.t2.time
Immutable object encapsulating hours, minutes, seconds and fractional seconds.
TimeParts.TimeZoneOffset - Class in ch.agent.t2.time
An immutable object representing a time zone offset.
TimeParts.YMD - Class in ch.agent.t2.time
Immutable object encapsulating years, months and days.
TimeScanner - Interface in ch.agent.t2.time
A time scanner extracts time parts from a string representation.
TimeSeriesIterator(long, List<T>) - Constructor for class ch.agent.t2.timeseries.RegularTimeSeries.TimeSeriesIterator
Construct an iterator using the index start and the data.
TimeTools - Class in ch.agent.t2.time
TimeTools provides a selection of methods useful in time computations.
TimeTools() - Constructor for class ch.agent.t2.time.TimeTools
 
TimeUtil - Class in ch.agent.t2.timeutil
TimeUtil provides a selection of stateless methods useful in various applications.
TimeUtil() - Constructor for class ch.agent.t2.timeutil.TimeUtil
 
TimeZoneOffset(Resolution, boolean, int, int, int, int) - Constructor for class ch.agent.t2.time.TimeParts.TimeZoneOffset
Constructor.
TODAY - Static variable in class ch.agent.t2.timeutil.DayExpression
The keyword today.
toJavaDate(TimeIndex) - Static method in class ch.agent.t2.timeutil.JavaDateUtil
Return the Java date corresponding to the given time index.
toString() - Method in exception ch.agent.core.KeyedException
 
toString() - Method in class ch.agent.core.KeyedMessage
 
toString() - Method in class ch.agent.t2.applied.DayByNameAndRank
 
toString() - Method in class ch.agent.t2.applied.DayRankingSubPeriodPattern
 
toString() - Method in class ch.agent.t2.applied.SimpleSubPeriodPattern
 
toString() - Method in class ch.agent.t2.time.Cycle
 
toString() - Method in class ch.agent.t2.time.Range
 
toString(TimeFormatter) - Method in class ch.agent.t2.time.Time2
 
toString(String) - Method in class ch.agent.t2.time.Time2
 
toString() - Method in class ch.agent.t2.time.Time2
 
toString() - Method in class ch.agent.t2.time.TimeDomainDefinition
 
toString() - Method in class ch.agent.t2.time.TimeFactory
 
toString(String) - Method in interface ch.agent.t2.time.TimeIndex
Return a string representation of the time.
toString(TimeFormatter) - Method in interface ch.agent.t2.time.TimeIndex
Return a string representation of the time.
toString() - Method in class ch.agent.t2.time.TimeParts.HMSF
 
toString() - Method in class ch.agent.t2.time.TimeParts.TimeZoneOffset
 
toString() - Method in class ch.agent.t2.time.TimeParts
 
toString() - Method in class ch.agent.t2.time.TimeParts.YMD
 
toString() - Method in class ch.agent.t2.timeseries.AbstractTimeSeries
 
toString() - Method in class ch.agent.t2.timeseries.Observation
 

U

union(Range) - Method in class ch.agent.t2.time.Range
Return a new range which is the union with the argument.
unpack(long) - Method in class ch.agent.t2.time.TimeFactory
 
unpack(long) - Method in interface ch.agent.t2.time.TimePacker
Unpack the numeric representation of time into its component elements.
UpdateReviewer<T> - Interface in ch.agent.t2.timeseries
UpdateReviewer provides an interface for implementing update policies for time series.

V

valid(long, boolean) - Method in class ch.agent.t2.time.TimeFactory
 
valid(long, boolean) - Method in interface ch.agent.t2.time.TimePacker
Return true if the numeric time index is valid for the domain.
valueOf(String) - Static method in enum ch.agent.t2.time.Adjustment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.agent.t2.time.DayOfWeek
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.agent.t2.time.Resolution
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.agent.t2.time.Adjustment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.agent.t2.time.DayOfWeek
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.agent.t2.time.Resolution
Returns an array containing the constants of this enum type, in the order they are declared.

W

Week - Class in ch.agent.t2.applied
A Week is a Time2 with day resolution and a cycle of 6 days OFF and 1 day ON.
Week(TimeIndex) - Constructor for class ch.agent.t2.applied.Week
Construct a weekly time from another time object.
Week(String, Adjustment) - Constructor for class ch.agent.t2.applied.Week
Construct a weekly time from a string.
Week(long, int, int, Adjustment) - Constructor for class ch.agent.t2.applied.Week
Construct a weekly time from the given time components.
Workday - Class in ch.agent.t2.applied
A Workday is a Time2 with day resolution and a cycle of 2 days OFF days and 5 days ON.
Workday(TimeIndex) - Constructor for class ch.agent.t2.applied.Workday
Construct a workweek time from another time object.
Workday(String) - Constructor for class ch.agent.t2.applied.Workday
Construct a workweek time from a string.
Workday(String, Adjustment) - Constructor for class ch.agent.t2.applied.Workday
Construct a workweek time from a string.
Workday(long, int, int, Adjustment) - Constructor for class ch.agent.t2.applied.Workday
Construct a workweek time from the given time components.

Y

y() - Method in class ch.agent.t2.time.TimeParts.YMD
 
Year - Class in ch.agent.t2.applied
A Year is a Time2 with year resolution.
Year(TimeIndex) - Constructor for class ch.agent.t2.applied.Year
Construct a yearly time from another time object.
Year(String) - Constructor for class ch.agent.t2.applied.Year
Construct a yearly time from a string.
Year(long) - Constructor for class ch.agent.t2.applied.Year
Construct a yearly time from the given time components.
YMD(long, int, int) - Constructor for class ch.agent.t2.time.TimeParts.YMD
Constructor.
A B C D E F G H I J K L M N O P R S T U V W Y 
Skip navigation links

Copyright © 2017. All rights reserved.