Package com.aurelienpierre.sioul
Class HomeCardToday.Lines
java.lang.Object
com.aurelienpierre.sioul.HomeCardToday.Lines
- Enclosing class:
HomeCardToday
What the full card says now, and when that changes next: the pure part.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String(package private) final List<HomeCardToday.Cell> The days after today, seven at most.(package private) final List<HomeCardToday.Cell> (package private) longWhen to draw again (Unix ms); never: Long.MAX_VALUE.(package private) HomeCardToday.CellThe weather now; none: no weather part.(package private) final String[]Where a tap on each line leads (HomeCardOpener's address); "" opens Sioul as its icon does.(package private) final List<HomeCardToday.Cell> (package private) final String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidadd(List<HomeCardToday.Cell> cells, JSONArray slots, int most) private voidage(JSONObject card, long now) "at 14:05" once the card is a quarter of an hour old.private voidThe calls declined the frame lists, in the Porch's words.private voidThe newest code still valid; the next to expire, the next drawing.private voidThe doses due now, in one line: each as Rust said it while it is known not marked elsewhere, then with "check before taking it".(package private) static HomeCardToday.Linesof(JSONObject card, long now) The lines for `now`: today's, then the frame's (the Porch's, Now's).private voidTwo events at once, on their day until both are over.private voidThe reminders the frame shows, each from its time while it makes sense; the same words once.private booleanWhether one of the first `count` lines from `first` says `line` already.private voidsoon(long at, long now) private voidtoday(JSONObject today, long now) The date, then the weather: the hour under way's, and the days after today.
-
Field Details
-
texts
-
opens
Where a tap on each line leads (HomeCardOpener's address); "" opens Sioul as its icon does. -
age
-
now
The weather now; none: no weather part. -
hours
-
parts
-
days
The days after today, seven at most. -
next
long nextWhen to draw again (Unix ms); never: Long.MAX_VALUE.
-
-
Constructor Details
-
Lines
Lines()
-
-
Method Details
-
soon
-
of
The lines for `now`: today's, then the frame's (the Porch's, Now's). A card an older Sioul wrote (version 2) has no today and no reminders: its other lines show; none at all, Java's own words. -
today
The date, then the weather: the hour under way's, and the days after today. -
add
-
code
The newest code still valid; the next to expire, the next drawing. -
doses
The doses due now, in one line: each as Rust said it while it is known not marked elsewhere, then with "check before taking it". Never more. -
reminders
The reminders the frame shows, each from its time while it makes sense; the same words once. -
said
Whether one of the first `count` lines from `first` says `line` already. -
calls
The calls declined the frame lists, in the Porch's words. -
overlap
Two events at once, on their day until both are over. -
age
"at 14:05" once the card is a quarter of an hour old.
-