Package hirondelle.web4j.util

Examples of hirondelle.web4j.util.TimeSource.currentTimeMillis()


  
   <P>Only millisecond precision is possible for this method.
   */
  public static DateTime now(TimeZone aTimeZone) {
    TimeSource timesource = BuildImpl.forTimeSource();
    return forInstant(timesource.currentTimeMillis(), aTimeZone);
  }

  /**
   Return the current date.
   <P>As in {@link #now(TimeZone)}, but truncates the time portion, leaving only year-month-day.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.