meeting.java

来自「SSD8练习4 传上去大家参考参考 研究研究」· Java 代码 · 共 71 行

JAVA
71
字号

import java.util.Date;

/* 
 *
 * TODO The  clsaa reprent a meet
 * 
 */

/**
 
 * @version 1.0.0
 * 
 */
public class Meeting {

	//record the starting time
	private Date start;

	//record the ending time
	private Date end;

	//record the user meet with
	private String otherUserName;

	private String title;
	
	//to idicate is the client is a holder
	private boolean holder;

	//meeting id
	private int id;

	/*
	 * contruct a meeting
	 */
	public Meeting(Date s, Date e, String oun,String title,int id,boolean holder) {

		this.start = s;
		this.end = e;
		this.otherUserName = oun;
		this.title = title;
		this.id = id;
		this.holder = holder;
	}
	
	public Date getStart(){
		return start;
	}

	public Date getEnd(){
		return end;
	}
	
	public String getTitle(){
		return title;
	}
	
	public int getID(){	
		return id;
	}
	
	public String getOtherUserName(){
		return otherUserName;
	}
	
	public boolean getHolder(){
		return holder;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?