TapKit::Timestamp
- Class/Module:
- Class
- In:
-
lib/tapkit/control/date_and_time.rb
- Parent:
-
Object
Methods
+
-
<=>
fraction
new
new_with_datetime
now
to_date
to_datetime
to_s
to_time
Attributes
- day [RW]
- fraction [W]
- hour [RW]
- minute [RW]
- month [RW]
- second [RW]
- year [RW]
Included modules
Comparable
Public Class Methods
-
new( year = 0, month = 0, day = 0, hour = 0, minute = 0, second = 0, fraction = nil )
-
new_with_datetime( datetime )
-
now()
Public Instance Methods
-
+( other )
-
-( other )
-
<=>( other )
-
fraction()
-
to_date()
-
to_datetime()
-
to_s()
-
to_time()