Sha256: cc960404a527ccca2d1c91e99376f945dc9152bcc91abe0d8e44248469676f1d
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
# unpack dateTime # Reader - ADIwg JSON V1 to internal data structure # History: # Stan Smith 2013-12-11 original script require 'module_dateTimeFun' module Md_DateTime def self.unpack(sDateTime) # 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adiwg-mdtranslator-0.10.2 | lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dateTime.rb |