In java, is it possible to access and/or edit system attributes like the system date/time?

If so, how?