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