Module: AccountComponent::Controls::Time::Effective

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



44
45
46
47
# File 'lib/account_component/controls/time.rb', line 44

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



56
57
58
# File 'lib/account_component/controls/time.rb', line 56

def self.offset_milliseconds
  1
end