is_eth_date | R Documentation |
Small helper functions.
is_eth_date(x)
is_eth_leap(x)
## S3 method for class 'ethdate'
as.Date(x, ...)
## S3 method for class 'ethdate'
as.double(x, ...)
## S3 method for class 'ethdate'
as.character(x, ...)
## S3 method for class 'ethdate'
format(x, format = "%Y-%m-%d", lang = c("lat", "amh", "en"), ...)
x |
an ethdate or numeric vector. |
... |
further arguments to be passed to specific methods. |
format |
a format for character date. |
lang |
a language. |
is_eth_leap()
returns a boolean vector,
as.Date()
returns a Date object,
as.numeric()
returns number of date since 1970-01-01 GC (1962-04-23 EC), and
as.character()
returns formatted character date.
is_eth_leap(2011)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.