Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1026562 - localTimeForSpeechOutput

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (97L/1K).

sS localTimeForSpeechOutput() {
  int minutes = localMinutes();
  int hours = localHours();
  ret hours + " " + (minutes == 0 ? " o'clock" : str(minutes));
}

download  show line numbers  debug dex   

Travelled to 3 computer(s): mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026562
Snippet name: localTimeForSpeechOutput
Eternal ID of this version: #1026562/1
Text MD5: 8addba0ecf789ca8a52149c6add0b938
Transpilation MD5: 117f4adc4e7022c20e1e2f83e599844e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-13 23:32:47
Source code size: 161 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 3 / 13
Referenced in: [show references]

Formerly at http://tinybrain.de/1026562 & http://1026562.tinybrain.de