public static class TtsSpan.TimeBuilder extends TtsSpan.SemioticClassBuilder<TtsSpan.TimeBuilder>
TtsSpan.TYPE_TIME
.Constructor and Description |
---|
TimeBuilder()
Creates a builder for a TtsSpan of type
TtsSpan.TYPE_TIME . |
TimeBuilder(int hours,
int minutes)
Creates a builder for a TtsSpan of type
TtsSpan.TYPE_TIME and
sets the TtsSpan.ARG_HOURS and TtsSpan.ARG_MINUTES arguments. |
Modifier and Type | Method and Description |
---|---|
TtsSpan.TimeBuilder |
setHours(int hours)
Sets the
TtsSpan.ARG_HOURS argument. |
TtsSpan.TimeBuilder |
setMinutes(int minutes)
Sets the
TtsSpan.ARG_MINUTES argument. |
setAnimacy, setCase, setGender, setMultiplicity
build, setIntArgument, setLongArgument, setStringArgument
public TimeBuilder()
TtsSpan.TYPE_TIME
.public TimeBuilder(int hours, int minutes)
TtsSpan.TYPE_TIME
and
sets the TtsSpan.ARG_HOURS
and TtsSpan.ARG_MINUTES
arguments.public TtsSpan.TimeBuilder setHours(int hours)
TtsSpan.ARG_HOURS
argument.hours
- The value to be set for hours. See TtsSpan.ARG_HOURS
.#ARG_HOURS}
public TtsSpan.TimeBuilder setMinutes(int minutes)
TtsSpan.ARG_MINUTES
argument.minutes
- The value to be set for minutes. See
TtsSpan.ARG_MINUTES
.#ARG_MINUTES}