set Period
set the length of one loop of an animation in specified unit.
Parameters
duration
duration of loop.
time Unit
unit to use.
set the length of one loop of an animation in milliseconds.
Parameters
period
from 0 - 4,294,697,295. Larger is longer.