displayFormat-methods {mondate} | R Documentation |
Methods to get and set the displayFormat
value of a mondate
.
## S4 method for signature 'mondate' displayFormat(x) ## S4 method for signature 'ANY' displayFormat(x) ## S4 replacement method for signature 'mondate' displayFormat(x)<-value ## S4 method for signature 'mondate' mondateDisplayFormat(x) ## S4 method for signature 'ANY' mondateDisplayFormat(x) ## S4 replacement method for signature 'mondate' mondateDisplayFormat(x)<-value
x |
a |
value |
For the "get" method,
a
If |
The mondateDisplayFormat
versions are being deprecated.
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