Learn R Programming

parttime (version 0.1.2)

parttime_access_and_assign: Datetime component access and assignment functions

Description

Datetime component access and assignment functions

Usage

year(x)

year(x) <- value

month(x)

month(x) <- value

mday(x)

mday(x) <- value

day(x)

day(x) <- value

hour(x)

hour(x) <- value

minute(x)

minute(x) <- value

second(x)

second(x) <- value

tz(x)

tz(x) <- value

# S3 method for partial_time year(x)

# S3 method for partial_time year(x) <- value

# S4 method for partial_time year(x) <- value

# S3 method for partial_time month(x)

# S3 method for partial_time month(x) <- value

# S4 method for partial_time month(x) <- value

# S3 method for partial_time mday(x)

# S3 method for partial_time day(x) <- value

# S4 method for partial_time day(x) <- value

# S3 method for partial_time hour(x)

# S3 method for partial_time hour(x) <- value

# S4 method for partial_time hour(x) <- value

# S3 method for partial_time minute(x)

# S3 method for partial_time minute(x) <- value

# S4 method for partial_time minute(x) <- value

# S3 method for partial_time second(x)

# S3 method for partial_time second(x) <- value

# S4 method for partial_time second(x) <- value

# S3 method for partial_time tz(x)

# S3 method for partial_time tz(x) <- value

Value

The numeric vector associated with the accessor field.

Arguments

x

A time-like object to access or assign to

value

For assignment, a value to assign