subtime(x, representation, ..., first.day = 0) ## S3 method for class 'default':
subtime(x, representation, ...,
timezone = "UTC", first.day = 0)
## S3 method for class 'numeric':
subtime(x, representation, ...,
timezone = "UTC", first.day = 0)
## S3 method for class 'POSIXct':
subtime(x, representation, ...,
first.day = 0)
## S3 method for class 'POSIXlt':
subtime(x, representation, ...,
first.day = 0)
## S3 method for class 'TimeInstantDataFrame':
subtime(x,
representation, ..., first.day = 0)
## S3 method for class 'TimeIntervalDataFrame':
subtime(x,
representation, cursor = NULL, ..., first.day = 0)
representation ==
'wday'
. Interger indicating the first day of the week. 0
-> sunday (the default), 1 -> monday, 2 -> tuesday, etc.0
, start of each intervals is taken as
instant ; if 1
end of each intervals is taken as
instant. Any other value will determine a weigthed
instant between start and end (DateTimeClasses
documentation. The result is an ordered factor containing the values
corresponding to the given argument DateTimeClasses
documentation.
The factor is given an attributes 'timezone' which correspond of the the timezone of the argument.
DateTimeClasses
,
timezone