module ViewData::PG::Controls::Time::Local::Raw

Public Class Methods

example(time=nil) click to toggle source
# File lib/view_data/pg/controls/time.rb, line 29
def self.example(time=nil)
  time ||= Time::Raw.example

  ::Time.new(
    time.year,
    time.month,
    time.day,
    time.hour,
    time.min,
    time.sec,
    Offset.seconds
  )
end