Sha256: bfb8a1ad74c01b3d3b490576e492b02f42d2846ba7596982c4e201b5663f3b24

Contents?: true

Size: 391 Bytes

Versions: 20

Compression:

Stored size: 391 Bytes

Contents

# Author::    Eric Crane  (mailto:eric.crane@mac.com)
# Copyright:: Copyright (c) 2023 Eric Crane.  All rights reserved.
#
# Conversion tool:  String to Time.
#
require 'chronic'

module Gloo
  module Convert
    class StringToTime

      #
      # Convert the given string value to time.
      #
      def convert( value )
        return Chronic.parse( value )
      end

    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
gloo-3.5.0 lib/gloo/convert/string_to_time.rb
gloo-3.4.1 lib/gloo/convert/string_to_time.rb
gloo-3.4.0 lib/gloo/convert/string_to_time.rb
gloo-3.3.0 lib/gloo/convert/string_to_time.rb
gloo-3.2.0 lib/gloo/convert/string_to_time.rb
gloo-3.1.1 lib/gloo/convert/string_to_time.rb
gloo-3.1.0 lib/gloo/convert/string_to_time.rb
gloo-3.0.1 lib/gloo/convert/string_to_time.rb
gloo-3.0.0 lib/gloo/convert/string_to_time.rb
gloo-2.5.0 lib/gloo/convert/string_to_time.rb
gloo-2.4.3 lib/gloo/convert/string_to_time.rb
gloo-2.4.2 lib/gloo/convert/string_to_time.rb
gloo-2.4.1 lib/gloo/convert/string_to_time.rb
gloo-2.4.0 lib/gloo/convert/string_to_time.rb
gloo-2.3.1 lib/gloo/convert/string_to_time.rb
gloo-2.2.0 lib/gloo/convert/string_to_time.rb
gloo-2.1.0 lib/gloo/convert/string_to_time.rb
gloo-2.0.2 lib/gloo/convert/string_to_time.rb
gloo-2.0.1 lib/gloo/convert/string_to_time.rb
gloo-2.0.0 lib/gloo/convert/string_to_time.rb