Class: CF::Date
Overview
Wrapper for CFDateRef
Class Method Summary collapse
-
.from_time(time) ⇒ CF::Date
constructs a CF::Date from a ruby time.
Instance Method Summary collapse
-
#to_time ⇒ Time
(also: #to_ruby)
returns a ruby Time instance corresponding to the same point in time.
Methods inherited from Base
check_cftype, #eql?, #equals?, #hash, #initialize, #inspect, #null?, #ptr=, #release, #release_on_gc, #retain, #to_cf, #to_ptr, typecast
Constructor Details
This class inherits a constructor from CF::Base