Bug 876935 - Millisecond calculation in AlarmService. r=gene