I have the following:
double timeInMinutes = (double) timeInMilliseconds / (1000 * 60);
Is the operation (1000 * 60) done at c
(1000 * 60)
At compile time. This is one of those most basic compiler optimizations, known as Constant Folding.