Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_datime/src/calendar/month.rs

399 bytes, 7 runs

created by r1870400018:6303, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1//! [Written with AI entirely](https://need2know.ai/entirely-ai/code)\
2//! Anthropic Claude
3
4use oxedyne_fe2o3_core::prelude::*;
5
6#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)]
7pub struct CalendarMonth {
8 value: i32,
9}
10
11impl CalendarMonth {
12 pub fn new(month: i32) -> Self {
13 Self { value: month }
14 }
15
16 pub fn of(&self) -> i32 {
17 self.value
18 }
19}