Function numeric [src]

return the numeric calendar value for the given month i.e. jan=1, feb=2, etc

Prototype

pub fn numeric(self: Month) u4

Parameters

self: Month

Source

pub fn numeric(self: Month) u4 { return @intFromEnum(self); }