Package org.apache.wicket.util.string

Examples of org.apache.wicket.util.string.StringValue.toLong()


  {
    final StringValue sval = parameters.get(name);
    if (sval == null || sval.isNull() == true) {
      return null;
    } else {
      return sval.toLong();
    }
  }

  public static Boolean getAsBooleanObject(final PageParameters parameters, final String name)
  {
View Full Code Here


      StringValue lastModifiedTimeStr = parameters.getParameterValue(prefix +
        "lastModifiedTime");
      Calendar lastModifiedDate;
      if (!lastModifiedTimeStr.isNull())
      {
        long lastModifiedTime = lastModifiedTimeStr.toLong();
        lastModifiedDate = Calendar.getInstance();
        lastModifiedDate.setTimeInMillis(lastModifiedTime);
      }
      else
        lastModifiedDate = null;
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.