Package java.util

Examples of java.util.Date$StringData


    else if(StringUtils.isEmpty(lform.getUrl())){
      msgs.add("url", new ActionMessage("error.link_url_empty"));
    }
    else{
      LinkBean lbean = new LinkBean();
      lbean.setCreateTime(new Date());
      lbean.setSiteId(lform.getSid());
      lbean.setTitle(lform.getTitle());
      lbean.setUrl(lform.getUrl());
      lbean.setType(lform.getType());
      lbean.setStatus(lform.getStatus());
View Full Code Here


     
      super.setValue(value);
    }
   
    public Object getPreviousValue() {
      Date d = (Date)super.getPreviousValue();
      correctValues(d);
     
      return d;
    }
View Full Code Here

     
      return d;
    }
   
    public Object getNextValue() {
      Date d = (Date)super.getNextValue();
      correctValues(d);
     
      return d;
    }
View Full Code Here

     * Returns the time this session was last touched.
     *
     * @return ...
     */
    public Date lastActive() {
        return new Date(session.lastTouched());
    }
View Full Code Here

     * Returns the time this session was created.
     *
     * @return ...
     */
    public Date onSince() {
        return new Date(session.onSince());
    }
View Full Code Here

     * Returns the time this session was last touched.
     *
     * @return ...
     */
    public Date getLastActive() {
        return new Date(session.lastTouched());
    }
View Full Code Here

                }
            } else if ("date".equals(elementType)) {
                SimpleDateFormat format = new SimpleDateFormat(DATEFORMAT);

                try {
                    Date date = format.parse(charValue);

                    prop.setDateValue(date);
                } catch (ParseException e) {
                    prop.setStringValue(charValue);
                }
View Full Code Here

     * Returns a date object representing the time a user's session was started.
     *
     * @return ...
     */
    public Date getOnSince() {
        return new Date(session.onSince());
    }
View Full Code Here

     * logout was performed the last time.
     *
     * @return ...
     */
    public Date getLastModified() {
        return new Date(session.lastModified());
    }
View Full Code Here

            throws IOException {
        OutputStreamWriter out = new OutputStreamWriter(new FileOutputStream(file));

        out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
        out.write("<!-- printed by helma object publisher     -->\n");
        out.write("<!-- created " + (new Date()).toString() + " -->\n");
        out.write("<xmlroot>\n");
        out.write("  <counter>" + idgen.getValue() + "</counter>\n");
        out.write("</xmlroot>\n");
        out.close();
    }
View Full Code Here

TOP

Related Classes of java.util.Date$StringData

Copyright © 2018 www.massapicom. 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.