Package | Description |
---|---|
ch.agent.t2.time |
Defines and implements time and time domains.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTimeFormatter
This time formatter is used to turn a time into a string.
|
class |
TimeFactory
A TimeFactory makes
TimeIndex objects and
acts as an immutable TimeDomain . |
Modifier and Type | Method and Description |
---|---|
TimeFormatter |
TimeDomain.getFormatter()
Return the time formatter to use when formatting times in this domain.
|
TimeFormatter |
TimeFactory.getFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
Time2.toString(TimeFormatter formatter) |
String |
TimeIndex.toString(TimeFormatter formatter)
Return a string representation of the time.
|
Constructor and Description |
---|
TimeFactory(TimeDomainDefinition def,
TimeFormatter formatter)
Constructor providing a default time scanner.
|
TimeFactory(TimeDomainDefinition def,
TimeFormatter formatter,
TimeScanner scanner)
Construct a TimeFactory for the given time domain.
|
Copyright © 2017. All rights reserved.