本文介绍了难道Android的AlarmManager处理夏的变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立在Android的闹钟应用程序。难道AlarmManager自动处理夏季和冬季之间的时钟的变化还是需要显式地管理了吗?

I'm building an alarm clock app in Android. Does AlarmManager automatically handle clock changes between summertime and wintertime or do I need to manage that explicitly?

编辑:如果报警被设定在重复间隔跨越时钟变化将是报警需要改期

edit: If an alarm is set where the repeat interval crosses a clock change will that alarm need to be rescheduled?

推荐答案

AlarmManager 会照顾保存天灯。它重置在每一天的开始时区信息以夏令信息考虑在内。

AlarmManager will take care of the day light saving. It reset the Timezone info at the beginning of each day taking daylight saving info into consideration.

这篇关于难道Android的AlarmManager处理夏的变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 04:14