Class ConvertMonthShortcutFullNameNotTranslateAble
- Namespace
- SunamoConverters.Converts
- Assembly
- SunamoConverters.dll
Converts between English month shortcuts (Jan, Feb, etc.) and full month names.
public static class ConvertMonthShortcutFullNameNotTranslateAble
- Inheritance
-
ConvertMonthShortcutFullNameNotTranslateAble
- Inherited Members
Methods
FromShortcut(string)
Converts a month shortcut to its full English name.
public static string? FromShortcut(string shortcut)
Parameters
shortcutstringThe three-letter month shortcut (e.g., "Jan", "Feb").
Returns
- string
The full English month name (e.g., "January", "February"), or null if invalid.
ToShortcut(string)
Converts a full English month name to its three-letter shortcut.
public static string? ToShortcut(string fullName)
Parameters
fullNamestringThe full English month name (e.g., "January", "February").
Returns
- string
The three-letter month shortcut (e.g., "Jan", "Feb"), or null if the full name is invalid.