Locus Map - forum

Support => Troubles & Questions => Topic started by: tramp20 on March 29, 2016, 12:53:55

Title: daylight saving time
Post by: tramp20 on March 29, 2016, 12:53:55
Hi menion,
every year we have daylight saving time and every year the timer of the backup manager does not consider this :-(
Title: Re: daylight saving time
Post by: Menion on March 31, 2016, 06:53:34
Good day tramp,

well, timing of backup manager is not very precise and I think that one hour here, one hour there, do not make any difference. I also can't imagine how to handle it correctly, sorry.
Title: Re: daylight saving time
Post by: tramp20 on April 01, 2016, 14:30:34
Quote from: menion on March 31, 2016, 06:53:34
I also can't imagine how to handle it correctly, sorry.

Could this help you?
I found this little piece of software:

public boolean isDaylightTime(Calendar now)  {
    return now.getTimeZone().inDaylightTime(now.getTime());
}
Title: Re: daylight saving time
Post by: Menion on April 01, 2016, 14:42:46
nono I know how to get info about daytime etc. I just do not know how to simply apply it into Locus. When I'll do something around backups, I'll keep this in my mind, anyway till then, sorry, but I do not this it is too important. Thanks anyway