Trees | Index | Help |
---|
Module crepyscule_summer_time |
|
Adjust the sunset and sunrise hour depending on the timezone. The list of timezone (lTimezone) is based on software kstars of the kdeedu project (http://edu.kde.org/kstars/). The original file contains informations by column like this: city : province : country : Lat_deg : Lat_min : Lat_sec : N|S : Lon_deg : Lon_min : Lon_sec : E|W : UTC_difference : two_letters[??]
Project home page is http://ptaff.ca/crepyscule/Function Summary | |
---|---|
list |
Adjust the hour of sunset and sunrise depending of the summer time |
Adjust the hour of sunset and sunrise depending of the summer time for this particular day. | |
tuple |
Return in julian day the beginning of daylight time and the end of daylight time. |
int |
Get the day of the month corresponding to the position in the month. |
int |
Return julian day corresponding to iso 8601 date format is YYYY-MM-DD |
Function Details |
---|
adjust_summer_time(lSunrise, lSunset, sTimezone, nYear)Adjust the hour of sunset and sunrise depending of the summer time
|
adjust_summer_time_one_day(tDay, fValue, sTimezone)Adjust the hour of sunset and sunrise depending of the summer time for this particular day.
|
get_summer_time_days(sSummerCode, nYear)Return in julian day the beginning of daylight time and the end of daylight time.
|
__get_day(sPosition, sDay, sMonth, nYear)Get the day of the month corresponding to the position in the month. Eg: First monday of april would be __get_day('first', 'MON', 'APR')
|
__get_julian(sDate)Return julian day corresponding to iso 8601 date format is YYYY-MM-DD
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jan 28 21:01:07 2009 | http://epydoc.sf.net |