How to set java DayOfWeek values?
<p>I want to create a function that gets an <code>enum</code> of <code>DayOfWeek</code> and then use this day's value to something else.</p>

<p>My problem is that I can't set (actually overriding) the returned values.</p>

<p>For example:</p>

<pre><code>DayOfWeek.SUNDAY.getValue(); // return 7
</code></pre>

<p>I want to set <code>SUNDAY</code> to <code>0</code>, <code>MONDAY</code> to <code>1</code> and so on...
Is there any way doing it?</p>