Package com.google.code.lightssh.common.model

Examples of com.google.code.lightssh.common.model.Period


   * 设置时间区间
   * @param start 起始时间
   * @param end 结束时间
   */
  public void setPeriod(Date start,Date end ){
    this.period = new Period(start,end);
  }
View Full Code Here


    this.from = from;
    this.to = to;
    this.type = type;
   
    Calendar calendar = Calendar.getInstance();
    this.period = new Period(calendar.getTime(),null);
  }
View Full Code Here

  public PartyRole(Party party, RoleType type) {
    super();
    this.party = party;
    this.type = type;
    Calendar calendar = Calendar.getInstance();
    this.period = new Period(calendar.getTime(),null);
  }
View Full Code Here

  public PartyContact( ){}
 
  public PartyContact(Party party,ContactMechanism contact ){
    this.party = party;
    this.contact = contact;
    this.period = new Period(new Date(),null);
  }
View Full Code Here

TOP

Related Classes of com.google.code.lightssh.common.model.Period

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.