Class: XSD::XSDGYearMonth
- Inherits:
-
XSDAnySimpleType
- Object
- NSDBase
- XSDAnySimpleType
- XSD::XSDGYearMonth
- Includes:
- XSDDateTimeImpl
- Defined in:
- lib/xsd/datatypes.rb
Constant Summary collapse
- Type =
QName.new(Namespace, GYearMonthLiteral)
Constants included from XSDDateTimeImpl
XSD::XSDDateTimeImpl::SecInDay
Constants included from XSD
AnySimpleTypeLiteral, AnySimpleTypeName, AnyTypeLiteral, AnyTypeName, AnyURILiteral, AttrNilName, AttrType, AttrTypeName, Base64BinaryLiteral, BooleanLiteral, ByteLiteral, DateLiteral, DateTimeLiteral, DecimalLiteral, DoubleLiteral, DurationLiteral, FloatLiteral, GDayLiteral, GMonthDayLiteral, GMonthLiteral, GYearLiteral, GYearMonthLiteral, HexBinaryLiteral, InstanceNamespace, IntLiteral, IntegerLiteral, LongLiteral, Namespace, NegativeIntegerLiteral, NilLiteral, NilValue, NonNegativeIntegerLiteral, NonPositiveIntegerLiteral, NormalizedStringLiteral, PositiveIntegerLiteral, QNameLiteral, ShortLiteral, StringLiteral, TimeLiteral, UnsignedByteLiteral, UnsignedIntLiteral, UnsignedLongLiteral, UnsignedShortLiteral
Instance Attribute Summary
Attributes inherited from XSDAnySimpleType
Attributes inherited from NSDBase
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ XSDGYearMonth
constructor
A new instance of XSDGYearMonth.
Methods included from XSDDateTimeImpl
#add_tz, #of2tz, #screen_data, #to_date, #to_datetime, #to_obj, #to_time, #tz2of
Methods inherited from XSDAnySimpleType
#check_lexical_format, #set, #to_s
Methods inherited from NSDBase
Constructor Details
#initialize(value = nil) ⇒ XSDGYearMonth
Returns a new instance of XSDGYearMonth.
736 737 738 |
# File 'lib/xsd/datatypes.rb', line 736 def initialize(value = nil) init(Type, value) end |