コード例 #1
0
 public TimeIdentifierMetaAttribute(string label,
                                    string value,
                                    TimeIdentifierCategory category,
                                    TimePeriodYearFormat yearFormat   = TimePeriodYearFormat.Default,
                                    TimePeriodLabelFormat labelFormat = TimePeriodLabelFormat.FullLabel,
                                    string shortLabel = null) : base(label, value)
 {
     YearFormat  = yearFormat;
     LabelFormat = labelFormat;
     ShortLabel  = shortLabel;
     Category    = category;
 }
 private TimePeriodLabelFormatter(TimePeriodLabelFormat labelFormat,
                                  TimePeriodYearFormat yearFormat)
 {
     LabelFormat = labelFormat;
     YearFormat  = yearFormat;
 }