example.platform.power/src/example/platform/power/DebugCommands.java
@Descriptor("Schedules a WakeLock to activate at a time in the future")
    public void scheduleLock(
            @Descriptor("The WakeLock to schedule to activate in the future")
            final WakeLock lock, 
            @Descriptor("the time from now when the wake lock should activate, in seconds")
            final long timeDelayInSeconds)
    {
        Date futureDate = createFutureDate(timeDelayInSeconds * 1000);
        lock.scheduleWakeTime(futureDate);
    }
/**
     * Schedules a WakeLock to activate at a time in the future
     * @param lock
     *      the WakeLock to schedule to activate in the future
     * @param timeDelayInSeconds
     *      the time from now when the wake lock should activate, in seconds
     */
Schedules a WakeLock to activate at a time in the future
@param lock
the WakeLock to schedule to activate in the future
@param timeDelayInSeconds
the time from now when the wake lock should activate, in seconds
Schedules a WakeLock to activate at a time in the future @param lock the WakeLock to schedule to activate in the future @param timeDelayInSeconds the time from now when the wake lock should activate in seconds
@Descriptor("Schedules a WakeLock to activate at a time in the future")
    public void scheduleLock(
            @Descriptor("The WakeLock to schedule to activate in the future")
            final WakeLock lock, 
            @Descriptor("the time from now when the wake lock should activate, in seconds")
            final long timeDelayInSeconds)
    {
        Date futureDate = createFutureDate(timeDelayInSeconds * 1000);
        lock.scheduleWakeTime(futureDate);
    }
@ Descriptor ( "Schedules a WakeLock to activate at a time in the future" ) public void scheduleLock ( @ Descriptor ( "The WakeLock to schedule to activate in the future" ) final WakeLock lock , @ Descriptor ( "the time from now when the wake lock should activate, in seconds" ) final long timeDelayInSeconds ) { Date futureDate = createFutureDate ( timeDelayInSeconds * 1000 ) ; lock . scheduleWakeTime ( futureDate ) ; }
Schedules a WakeLock to activate at a time in the future
 @param lock
      the WakeLock to schedule to activate in the future
 @param timeDelayInSeconds
      the time from now when the wake lock should activate, in seconds
Schedules a WakeLock to activate at a time in the future @param lock the WakeLock to schedule to activate in the future @param timeDelayInSeconds the time from now when the wake lock should activate in seconds