Class: XSD::XSDTime

Inherits:
XSDAnySimpleType show all
Includes:
XSDDateTimeImpl
Defined in:
lib/xsd/datatypes.rb

Direct Known Subclasses

SOAP::SOAPTime

Constant Summary collapse

Type =
QName.new(Namespace, TimeLiteral)

Constants included from XSDDateTimeImpl

XSD::XSDDateTimeImpl::DayInMicro, XSD::XSDDateTimeImpl::DayInSec, XSD::XSDDateTimeImpl::MicroSecondsInADay, XSD::XSDDateTimeImpl::SecondsInADay

Constants included from XSD

AnySimpleTypeLiteral, AnySimpleTypeName, AnyTypeLiteral, AnyTypeName, AnyURILiteral, AttrNilName, AttrType, AttrTypeName, Base64BinaryLiteral, BooleanLiteral, ByteLiteral, DateLiteral, DateTimeLiteral, DecimalLiteral, DoubleLiteral, DurationLiteral, ENTITIESLiteral, ENTITYLiteral, FloatLiteral, GDayLiteral, GMonthDayLiteral, GMonthLiteral, GYearLiteral, GYearMonthLiteral, HexBinaryLiteral, IDLiteral, IDREFLiteral, IDREFSLiteral, InstanceNamespace, IntLiteral, IntegerLiteral, LanguageLiteral, LongLiteral, NCNameLiteral, NMTOKENLiteral, NMTOKENSLiteral, NameLiteral, Namespace, NegativeIntegerLiteral, NilLiteral, NilValue, NonNegativeIntegerLiteral, NonPositiveIntegerLiteral, NormalizedStringLiteral, PositiveIntegerLiteral, QNameLiteral, ShortLiteral, StringLiteral, TimeLiteral, TokenLiteral, UnsignedByteLiteral, UnsignedIntLiteral, UnsignedLongLiteral, UnsignedShortLiteral

Instance Attribute Summary

Attributes inherited from XSDAnySimpleType

#data, #is_nil

Attributes inherited from NSDBase

#type

Instance Method Summary collapse

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

inherited, #init, types

Constructor Details

#initialize(value = nil) ⇒ XSDTime

Returns a new instance of XSDTime.



676
677
678
# File 'lib/xsd/datatypes.rb', line 676

def initialize(value = nil)
  init(Type, value)
end