XDate: Date

XDateR Documentation

Date

Description

A formatted date string

Super classes

staypuft::FieldABC -> staypuft::Field -> Date

Methods

Public methods

Inherited methods

Method new()

Create a new Date object

Usage
XDate$new(format = NULL)
Arguments
@param

format Either "rfc" (for RFC822) or "iso" (for ISO8601)


Method format_date()

Usage
XDate$format_date(value)

Method to_string()

Usage
XDate$to_string(value)

Method serialize_()

Usage
XDate$serialize_(value, attr = NULL, obj = NULL)

Method validated()

Usage
XDate$validated(value)

Method deserialize_()

Usage
XDate$deserialize_(value, attr = NULL, data = NULL)

Method clone()

The objects of this class are cloneable with this method.

Usage
XDate$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Note

e.g., value: 2014-12-22T03:12:58.019077+00:00


ropensci/staypuft documentation built on Sept. 9, 2022, 4:35 p.m.