MCPcopy
hub / github.com/google/earthengine-api / assignTimestamp

Function assignTimestamp

javascript/src/encodable.js:845–849  ·  view source on GitHub ↗
(field, timestamp)

Source from the content-addressed store, hash-verified

843ee.rpc_convert.operationToTask = function(result) {
844 const internalTask = {};
845 const assignTimestamp = (field, timestamp) => {
846 if (timestamp != null) {
847 internalTask[field] = Date.parse(timestamp);
848 }
849 };
850 const convertState = (state) => {
851 switch (state) {
852 case 'PENDING': return 'READY';

Callers 1

encodable.jsFile · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected