Sha256: ab77e091a2eb30640135170bd695f277e2bf98445a26a8338019db69e3c010ed

Contents?: true

Size: 831 Bytes

Versions: 18

Compression:

Stored size: 831 Bytes

Contents

require 'adiwg/mdtranslator/internal/module_dateTimeFun'

module ADIWG
    module Mdtranslator
        module Readers
            module SbJson

                module SbDateTime

                    def self.unpack(sDateTime, responseObj)

                        # instance classes needed in script
                        intMetadataClass = InternalMetadata.new

                        # dateTime
                        intDateTime = intMetadataClass.newDateTime

                        aDateTimeReturn = AdiwgDateTimeFun.dateTimeFromString(sDateTime)
                        intDateTime[:dateTime] = aDateTimeReturn[0]
                        intDateTime[:dateResolution] = aDateTimeReturn[1]

                        return intDateTime

                    end

                end

            end
        end
    end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.0.0rc13 lib/adiwg/mdtranslator/readers/sbJson/modules/Old/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc11 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc10 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc9 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc8 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc7 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc6 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc5 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc4 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc3 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-2.0.0rc2 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-1.4.0 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-1.4.0.beta14 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-1.4.0.beta13 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-1.4.0.beta12 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-1.4.0.beta11 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-1.4.0.beta10 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb
adiwg-mdtranslator-1.4.0.beta9 lib/adiwg/mdtranslator/readers/sbJson/modules_v0/module_dateTime.rb