@@ -0,0 +1,1122 @@
+/*%0D%0A * Copyright 2010 TranceCode%0D%0A *%0D%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not%0D%0A * use this file except in compliance with the License.  You may obtain a copy%0D%0A * of the License at%0D%0A *%0D%0A * http://www.apache.org/licenses/LICENSE-2.0%0D%0A *%0D%0A * Unless required by applicable law or agreed to in writing, software%0D%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0D%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the%0D%0A * License for the specific language governing permissions and limitations%0D%0A * under the License.%0D%0A */package org.trancecode.core;%0D%0A%0D%0Aimport java.util.concurrent.TimeUnit;%0D%0A%0D%0A/**%0D%0A * @author Herve Quiroz%0D%0A */%0D%0Apublic final class TcThreads%0D%0A%7B%0D%0A    private TcThreads()%0D%0A    %7B%0D%0A        // No instantiation%0D%0A    %7D%0D%0A%0D%0A    public static boolean sleep(final long duration, final TimeUnit timeUnit)%0D%0A    %7B%0D%0A        try%0D%0A        %7B%0D%0A            Thread.sleep(timeUnit.toMillis(duration));%0D%0A        %7D%0D%0A        catch (final InterruptedException e)%0D%0A        %7B%0D%0A            return true;%0D%0A        %7D%0D%0A%0D%0A        return false;%0D%0A    %7D%0D%0A%7D%0D%0A

Add TcThreads.sleep()