Class: Time
- Includes:
- JamfRubyExtensions::Time::Utils
- Defined in:
- lib/jamf/ruby_extensions/time.rb
Overview
include the modules loaded above
Direct Known Subclasses
Instance Method Summary collapse
-
#j_msec ⇒ Integer
(also: #jss_msec)
included
from JamfRubyExtensions::Time::Utils
The milliseconds of the Time.
-
#to_j_date ⇒ String
(also: #to_jss_date)
included
from JamfRubyExtensions::Time::Utils
The Time formatted for a plain JSS XML date element.
-
#to_j_epoch ⇒ Integer
(also: #to_jss_epoch)
included
from JamfRubyExtensions::Time::Utils
The Time as a unix epoch with milliseconds appended.
-
#to_j_utc ⇒ String
(also: #to_jss_utc)
included
from JamfRubyExtensions::Time::Utils
The Time formatted for a JSS UTC XML date element.
Instance Method Details
#j_msec ⇒ Integer Also known as: jss_msec Originally defined in module JamfRubyExtensions::Time::Utils
Returns the milliseconds of the Time.
#to_j_date ⇒ String Also known as: to_jss_date Originally defined in module JamfRubyExtensions::Time::Utils
Returns the Time formatted for a plain JSS XML date element.
#to_j_epoch ⇒ Integer Also known as: to_jss_epoch Originally defined in module JamfRubyExtensions::Time::Utils
Returns The Time as a unix epoch with milliseconds appended.
#to_j_utc ⇒ String Also known as: to_jss_utc Originally defined in module JamfRubyExtensions::Time::Utils
Returns the Time formatted for a JSS UTC XML date element.