BobbyMi / ds1307new

Automatically exported from code.google.com/p/ds1307new
0 stars 0 forks source link

RTC.IsSummerTimeMEZ() #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
implement a procedure which checks for european summer time.

Original issue reported on code.google.com by olikr...@gmail.com on 23 Mar 2011 at 2:49

GoogleCodeExporter commented 9 years ago
1. backup RTC time (time2000 value)
2. find start summer time
3. store summer time as time2000 value
4. find start winter time 
5. store winter time as time2000 value
6. restore origianl RTC time
7. if summer time < backup time and backup time < winter time then return 1
8. else return 0

Original comment by olikr...@gmail.com on 23 Mar 2011 at 3:07

GoogleCodeExporter commented 9 years ago
implemented

Original comment by olikr...@gmail.com on 24 Mar 2011 at 6:13