Hi,
I am trying to use Time.Gregroian.localMoment() according to the API Reference. Here is my Code:
var options = {
:year => 2018,
:month => 2,
:day => 24,
:hour => 0,
:min => 12
};
var when = Time.Gregorian.moment(options);
var where = new Pos.Location({
:latitude => loc[0],
:longitude => loc[1],
:format => :radians,
});
var local = Time.Gregorian.localMoment(when, where);
I am importing "using Toybox.Time as Time;" but I tried to import Gregroian directly and it's always the same error:
Error: Symbol Not Found Error Details: Could not find symbol 'localMoment'
I'm on SDK 4.1.2, developing for target API Level 4.0.
Is localMoment working at all?
Thank you so much,
Bob