Commit 63c7bee5 authored by Lambert Patrick's avatar Lambert Patrick
Browse files

add unit

parent 1a7de5a8
......@@ -24,6 +24,10 @@ public final class Time {
return (long) Math.floor(time / Season.values().length);
}
/**
* @return the duration of season (time step)
* @unit year
*/
public static double getSeasonDuration(){
return 1./ Season.values().length;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment