Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue- cloanable not added in model class - FreeBusyDateModel #57

Open
Lakshmi-s-rao-28 opened this issue Apr 28, 2021 · 0 comments
Open

Comments

@Lakshmi-s-rao-28
Copy link

FreeBusyDateModel is returning null. Need to add Cloanable.

public class FreeBusyDateModel implements Serializable, Cloneable {

@JsonProperty("time")
private String time;

@JsonProperty("tzid")
private String tzid;

private FreeBusyDateModel(String time, String tzid) {
	this.time = time;
	this.tzid = tzid;
}

public static FreeBusyDateModel of(String time) {
	return new FreeBusyDateModel(time, null);
}

public static FreeBusyDateModel of(String time, String tzid) {
	return new FreeBusyDateModel(time, tzid);
}

public Object clone() throws CloneNotSupportedException {
	return super.clone();
}

}

Lakshmi-s-rao-28 added a commit to Lakshmi-s-rao-28/jcronofy that referenced this issue May 14, 2021
added cloanable, setters and getters for time and tzid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant