What's The Differences Between Jointorient And Rotate

hey guys:
when use joint tools, the position of joint can be located by jointOrient and Rotate,
but i am confused that what's the differences between them.

any help would be appreciate.

JointOrient will allow you to rotate a joint to a desired direction without affecting the joint's world space rotations