As per the Java conventions, method names should start with a lowercase letter followed by lower and upper case letters and digits. Use camel case to denote new words in the method name.
Loading history...
55
return this.makeDate(this.created_at);
56
}
57
58
/**
59
* Set Model Created Date
60
*
61
* @param created_at
62
* @return
63
*/
64
public BaseModel setCreated_at(String created_at) {
As per the Java conventions, method names should start with a lowercase letter followed by lower and upper case letters and digits. Use camel case to denote new words in the method name.
As per the Java conventions, method names should start with a lowercase letter followed by lower and upper case letters and digits. Use camel case to denote new words in the method name.
Loading history...
75
return this.makeDate(this.created_at);
76
}
77
78
/**
79
* Set Model Updated Date
80
*
81
* @param updated_at
82
* @return
83
*/
84
public BaseModel setUpdated_at(String updated_at) {
As per the Java conventions, method names should start with a lowercase letter followed by lower and upper case letters and digits. Use camel case to denote new words in the method name.
Loading history...
85
this.updated_at = updated_at;
86
return this;
87
}
88
89
/**
90
* Genrate Data from String and Return it.
91
*
92
* @param dateTime
93
* @return
94
*/
95
private Date makeDate(String dateTime) {
96
SimpleDateFormat formatter = new SimpleDateFormat(this.expectedPattern);