module Gdsii::Access::GdsiiTime
Shared method related to working with the standard Time library within the Gdsii library.
Public Instance Methods
build_time(time)
click to toggle source
Given a Time object, the time is formatted into an array of integers according to the GDSII specification.
# File lib/gdsii/mixins.rb, line 267 def build_time(time) [time.year-1900, time.month, time.day, time.hour, time.min, time.sec.to_i] end