add comment explaining User.getName()
omit unnecessary parentheses
format string with method instead of loop
access fields directly, use comparison operators, add comments
omit this, replace indirect property accesses
use Date instead of Calendar