ron
02/23/2017, 7:43 PMedvin
02/23/2017, 8:38 PMron
02/23/2017, 8:40 PMfixedRateTimer
as first class function, but schedule needs to be done with Timer().schedule
carlw
02/23/2017, 9:18 PMron
02/23/2017, 10:03 PMron
02/23/2017, 10:03 PMron
02/23/2017, 10:03 PMjchildress
02/23/2017, 10:06 PMjchildress
02/23/2017, 10:06 PMedvin
02/23/2017, 10:19 PMedvin
02/23/2017, 10:25 PMjchildress
02/23/2017, 10:29 PMjchildress
02/23/2017, 10:29 PMcarlw
02/23/2017, 10:35 PMjchildress
02/23/2017, 10:36 PMjchildress
02/23/2017, 10:36 PMjchildress
02/23/2017, 10:45 PMdateTime = LocalDateTime.ofEpochSecond(json.getLong("DATETIME")/1000, 0, ZoneOffset.UTC)
works perfectjchildress
02/23/2017, 10:45 PMjchildress
02/23/2017, 10:46 PMoverride fun updateModel(json: JsonObject)
carlw
02/23/2017, 10:46 PMcarlw
02/23/2017, 11:07 PMcarlw
02/23/2017, 11:26 PMthomasnield
02/24/2017, 1:05 AMedvin
02/24/2017, 7:47 AMdatetime
called millis
. You can do datetime(true)
or datetime(millis = true)
to use milliseconds since epoch now 🙂edvin
02/24/2017, 7:52 AMJsonConfig.DefaultDateTimeMillis = true
, and just use datetime
with no parameter.edvin
02/24/2017, 7:54 AMedvin
02/24/2017, 8:32 AMJsonConfig.DefaultDateTimeMillis
as well. This chapter (as well as many others) need to be partially rewritten to provide better flow and improve wording etc.ron
02/24/2017, 8:47 AMdoThisOnceAfterWaiting