Any person subject to this code who:
shall be punished, if the offense is committed in time of war, by confinement of not more than ten (10) years or such other punishment as a court-martial may direct, and if the offense is committed at any other time, by such punishment as a court-martial may direct.
KRS 35.481