Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import java.util.Calendar;
  2. import java.util.Date;
  3.  
  4.  
  5. public class Context {
  6.  
  7. private Date time;
  8. private ContactEntry contact;
  9.  
  10. public Context(ContactEntry contact){
  11. this.time = Calendar.getInstance().getTime();
  12. this.contact = contact;
  13. }
  14.  
  15. public Date getTime() {
  16. return time;
  17. }
  18. public ContactEntry getContact() {
  19. return contact;
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement