XSD::XSDDuration (Class)

In: xsd/datatypes.rb
Parent: XSDAnySimpleType

Methods

new  

Constants

Type = QName.new(Namespace, DurationLiteral)

Attributes

day  [RW] 
hour  [RW] 
min  [RW] 
month  [RW] 
sec  [RW] 
sign  [RW] 
year  [RW] 

Public Class methods

[Source]

# File xsd/datatypes.rb, line 417
  def initialize(value = nil)
    super()
    @type = Type
    @sign = nil
    @year = nil
    @month = nil
    @day = nil
    @hour = nil
    @min = nil
    @sec = nil
    set(value) if value
  end

[Validate]