Changes to RelativeTime class

Adopted algo from Google IO '12 app code