diff --git a/app/src/main/java/com/example/cosmosclient/views/RequestList.java b/app/src/main/java/com/example/cosmosclient/views/RequestList.java index 0223ff2..ac5903e 100644 --- a/app/src/main/java/com/example/cosmosclient/views/RequestList.java +++ b/app/src/main/java/com/example/cosmosclient/views/RequestList.java @@ -1,11 +1,13 @@ package com.example.cosmosclient.views; +import java.util.Date; + public class RequestList { private String product; - private String deadline; + private Date deadline; private String location; - public RequestList(String product, String deadline, String location) { + public RequestList(String product, Date deadline, String location) { this.product = product; this.deadline = deadline; this.location = location; @@ -19,11 +21,11 @@ this.product = product; } - public String getDeadline() { + public Date getDeadline() { return deadline; } - public void setDeadline(String deadline) { + public void setDeadline(Date deadline) { this.deadline = deadline; }