length.timeDay: Length of an Object

View source: R/length.timeDay.R

length.timeDayR Documentation

Length of an Object

Description

Get the length of a time-of-day object.

Usage

## S3 method for class 'timeDay'
length(x)

Arguments

x

a time-of-day object.

Value

An integer of length 1 indicating the number of elements in x.

Examples


length(as.timeDay(c("10:30", "11:00")))

USGS-R/smwrBase documentation built on Oct. 18, 2022, 9:55 a.m.