package eu.dnetlib.espas.gui.shared;

import java.io.Serializable;
import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public class TimePeriodElementValues implements IsSerializable, Serializable {

	private Date fromDate = null;
	private Date toDate = null;
	
	private String fromTime = null;
	private String toTime = null;
	
	private boolean secondPeriodDefined = false;
	private int fromSecs = 0;
	private int toSecs = 0;
	
	private String timezone = null;
	
	
	public Date getFromDate() {
		return fromDate;
	}
	
	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}
	
	public Date getToDate() {
		return toDate;
	}
	
	public void setToDate(Date toDate) {
		this.toDate = toDate;
	}
	
	
	public String getFromTime() {
		return fromTime;
	}
	
	public void setFromTime(String fromTime) {
		this.fromTime = fromTime;
	}
	
	public String getToTime() {
		return toTime;
	}
	
	public void setToTime(String toTime) {
		this.toTime = toTime;
	}
	
	
	public boolean isSecondPeriodDefined() {
		return secondPeriodDefined;
	}
	
	public void setSecondPeriodDefined(boolean secondPeriodDefined) {
		this.secondPeriodDefined = secondPeriodDefined;
	}
	
	public int getFromSecs() {
		return fromSecs;
	}
	
	public void setFromSecs(int fromSecs) {
		this.fromSecs = fromSecs;
	}
	
	public int getToSecs() {
		return toSecs;
	}
	
	public void setToSecs(int toSecs) {
		this.toSecs = toSecs;
	}
	
	
	public String getTimezone() {
		return timezone;
	}
	
	public void setTimezone(String timezone) {
		this.timezone = timezone;
	}
	
}
