Last change
on this file since 19921 was 14887, checked in by neise, 12 years ago |
I think I moved the tests and examples into its own folder, in order to keep the scripts folder tidy
|
File size:
689 bytes
|
Line | |
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.