yearweek {RJalaliDate}R Documentation

number of week

Description

It shows which week of the year the desired date is.

Usage

yearweek(x, ...)

Arguments

x

JalaliDate object

...

for future usage

Value

list of current and last week number and label

Examples

yearweek(JalaliDate(321))
# $week_number
# [1] "47"
#
# $week_label
# [1] "75W47"
#
# $last_week_number
# [1] "46"
#
# $last_week_label
# [1] "75W46"

[Package RJalaliDate version 0.1.0 Index]