Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
SRcr::TimeSetStringConverter
Inherits
Reference
<
Object
Constants
TIME_REGEX = /
PT
(?:(?<h>\d+)
H
)?(?:(?<m>\d+)
M
)?(?<s>\d+(?:\.\d+)?)
S
/
Class methods
from_json
(value :
JSON::PullParser
) :
Time::Span
Source
to_json
(value :
Time::Span
, json :
JSON::Builder
)
Source