-
Notifications
You must be signed in to change notification settings - Fork 0
class Astro_Sunrise
www/includes/sunrise.inc.php
zorg\Layout
- Bolli bbolli@ewanet.ch
$Id: sunrise.inc.php 208 2004-05-08 17:12:27Z bb $
- 14.12.2003
ArrayArrayArrayArrayArrayArrayArrayArrayArray
last_utc() | lat() | lon() | mday() | month() | R() | twilight() | tz() | yday() | year() |
No constants found
__construct() | calcSunrise() | getCoords() | getDate() | getLastSwatchBeat() | getSunrise() | getSunset() | getTimezone() | setCoords() | setDate() | setTimestamp() | setTimezone() | setTwilight() |
time calculation
public $last_utc : int
Array: UNIX timestamp of last calculation
coordinates to calculate sunrise/sunset for
public $lat : int
Array: -90..+90; > 0 is north of the equator
coordinates to calculate sunrise/sunset for
public $lon : int
Array: -180..+180; > 0 is east of Greenwich
date
public $mday : int
Array: day of the month
date
public $month : int
Array
Twilight calculation
public $R : int
Array: radius used for twilight calculation
Twilight values
public $twilight : array
Array: Array containing sunrise/sunset, civil twilight, nautical twilight, astronomical twilight
date
public $tz : int
Array: timezone offset in hours, > 0 is east of GMT, < 0 is west
date
public $yday : int
Array: day of the year
date
public $year : int
Array: 4 digits, please
Astro Sunrise Twilight setzen
- Inherited from \Astro_Sunrise
public __construct() : mixed
- Inherited from \Astro_Sunrise
public calcSunrise(mixed $isRise) : mixed
Get coordinates
- Inherited from \Astro_Sunrise
public getCoords() : mixed
See also
- \self::setCoords()
Get date
- Inherited from \Astro_Sunrise
public getDate() : mixed
See also
- \self::setDate()
- Inherited from \Astro_Sunrise
public getLastSwatchBeat() : mixed
- Inherited from \Astro_Sunrise
public getSunrise() : mixed
- Inherited from \Astro_Sunrise
public getSunset() : mixed
- Inherited from \Astro_Sunrise
public getTimezone() : mixed
Set coordinates
- Inherited from \Astro_Sunrise
public setCoords(int $lat, int $lon) : mixed
-
var:
ArrayStore current Latitude Value -
var:
ArrayStore current Longitude Value
Set date
- Inherited from \Astro_Sunrise
public setDate(int $year, int $month, int $mday) : mixed
-
var:
Array -
var:
Array -
var:
Array
Set timestamp
- Inherited from \Astro_Sunrise
public setTimestamp(int $time) : mixed
See also
- \self::setDate()
- Inherited from \Astro_Sunrise
public setTimezone(mixed $tz) : mixed
- Inherited from \Astro_Sunrise
public setTwilight(mixed $type) : mixed
\ » Classes » Astro_Sunrise
Documentation generated on April 26th, 2020 at 15:54.
Powered by phpDocumentor with template GitHub-wiki.