Back to project page Buddy-Android-SDK.
The source code is released under:
Apache License
If you think the Android project Buddy-Android-SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.buddy.sdk; import java.util.Date; /*from w ww. j a v a 2 s. c o m*/ public class DateRange { Date start; Date end; public DateRange(Date start, Date end) { this.start = start; this.end = end; } public Date getStart() { if (this.start == null) { return new Date(0); } return this.start; } public Date getEnd() { if (this.end == null) { return new Date(); } return this.end; } }