Module: AccountComponent::Controls::Time::Processed

Defined in:
lib/account_component/controls/time.rb

Defined Under Namespace

Modules: Raw

Class Method Summary collapse

Class Method Details

.example(time = nil, offset_milliseconds: nil) ⇒ Object



26
27
28
29
# File 'lib/account_component/controls/time.rb', line 26

def self.example(time=nil, offset_milliseconds: nil)
  offset_milliseconds ||= self.offset_milliseconds
  Clock::Controls::Time::Offset.example(offset_milliseconds, time: time, precision: ISO8601.precision)
end

.offset_millisecondsObject



38
39
40
# File 'lib/account_component/controls/time.rb', line 38

def self.offset_milliseconds
  11
end