blob: 679d1a8d9833f59e044b3212e0c046e978e1aae5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package com.juick.server.helpers;
import org.apache.commons.lang3.StringUtils;
/**
* Created by vitalyster on 09.02.2016.
*/
public class EmailOpts {
private String email;
private String subscriptionHour;
public EmailOpts(String email, int subscriptionHour) {
this.email = email;
this.subscriptionHour = StringUtils.leftPad(String.format("%d", subscriptionHour), 2, "0");
}
public String getSubscriptionHour() {
return subscriptionHour;
}
public String getEmail() {
return email;
}
}
|