MzQCDateTime-class: An mzQC-formatted date+time, as required by the mzQC spec doc

Description Fields Examples

Description

The format is "

Fields

datetime

A correctly formatted date time (use as read-only)

Examples

1
2
3
4
5
   dt1 = MzQCDateTime$new("1900-01-01")
   dt2 = MzQCDateTime$new(Sys.time())
   ## test roundtrip conversion from/to JSON
   dt2$fromData(jsonlite::fromJSON(jsonlite::toJSON(dt1)))
   

PTXQC documentation built on Nov. 4, 2021, 9:11 a.m.