1 'use strict'; 2 var date = new Date(); // Date in UTC 3 console.out(date); 4 console.out("------------------------------"); 5 console.out(" - no params: -"); 6 console.out( JSON.stringify( Sun.horizon() ) ); 7 console.out('params: ("astro") '); 8 console.out( JSON.stringify( Sun.horizon("astro") ) ); 9 console.out('params: (-12, date) '); 10 console.out(JSON.stringify(Sun.horizon(-12, date ) ) ); // nautical 11 console.out('params: ("FACT") '); 12 console.out(JSON.stringify(Sun.horizon("FACT") ) ); 13 console.out("------------------------------"); 14 console.out("-----------time when LidOpen() will work-----------"); 15 console.out('nautical'); 16 console.out(JSON.stringify(Sun.horizon("nautical" ) ) ); // nautical 17