public String buildRangeString() {

        String fromString = BoxDateFormat.format(this.from);
        String toString = BoxDateFormat.format(this.to);


        String rangeString = String.format("%s,%s", fromString, toString);
        if (rangeString == ",") {
            rangeString = null;
        }
        return rangeString;
    }
public String buildRangeString ( ) { String fromString = BoxDateFormat . format ( this . from ) ; String toString = BoxDateFormat . format ( this . to ) ; String rangeString = String . format ( "%s,%s" , fromString , toString ) ; if ( rangeString == "," ) { rangeString = null ; } return rangeString ; }
Used to build out a string a http box api friendly range string.
@return String that is uses as a rest parameter.