| 名前空間一覧 > GrapeCity.Web.Input.IMCalendar 名前空間 > YearMonthFormat クラス : YearFormat プロパティ |
| キーワード | 説明 |
|---|---|
| g | 年号の頭文字をアルファベットで表示(M、T、S、H) |
| gg | 年号の頭文字を漢字で表示(明、大、昭、平) |
| ggg | 年号の正式名称を漢字で表示(明治、大正、昭和、平成) |
| e | 和暦年を2桁で表示(先頭に0を付けない) |
| ee | 和暦年を2桁で表示(先頭に0を付ける) |
| y | 年を2桁で表示(先頭に0を付けない) |
| yy | 年を2桁で表示(先頭に0を付ける) |
| yyy | 年を4桁で表示(先頭に0を付けない) |
| yyyy | 年を4桁で表示(先頭に0を付ける) |
Imports GrapeCity.Web.Input.IMCalendar GcCalendar1.CalendarType = CalendarType.YearMonth GcCalendar1.YearMonthFormat.YearFormat = "ggg e年" GcCalendar1.YearMonthFormat.MonthFormat = "MM月"
using GrapeCity.Web.Input.IMCalendar; GcCalendar1.CalendarType = CalendarType.YearMonth; GcCalendar1.YearMonthFormat.YearFormat = "ggg e年"; GcCalendar1.YearMonthFormat.MonthFormat = "MM月";