displayFormat-methods {mondate} | R Documentation |
Methods to Access 'displayFormat' Property
Description
Methods to get and set the displayFormat
value of a mondate
.
Usage
## S4 method for signature 'mondate'
displayFormat(x)
## S4 method for signature 'ANY'
displayFormat(x)
## S4 replacement method for signature 'mondate'
displayFormat(x)<-value
Arguments
x |
a |
value |
For the "get" method,
a
If |
Note
The mondateDisplayFormat
versions have been deprecated.
Examples
x<-mondate("2010-6-30") # The middle of 2010
displayFormat(x) # "%Y-%m-%d"
displayFormat(x) <- "%m/%d/%Y"
x # x now displays as 06/30/2010
[Package mondate version 1.0 Index]