summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-01-07 18:47:06 -0500
committerLeon Scroggins <scroggo@google.com>2010-01-08 09:18:37 -0500
commitc89b13b962c6634db536e563a42d058702ce045b (patch)
treefc37c9e36c7a03c9d68bebe39c5b77b188e1a1c8 /libs/rs/rsg_ScriptJavaClass.cpp
parentaffa5d2c0f7c2ade43ded5ff9a7952b269183117 (diff)
Use Calendar.add() instead of Calendar.roll()
Calendar.roll() breaks the year at the beginning of the year, so use add() instead, which changes larger fields. Also, only use 4 bins, since the last bin's boundary is not relevant. Lastly, no need to return Calendar in beginningOfDay. Fixes http://b/issue?id=2361382
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions