strj_parse_date: Parse Japanese calendar dates

View source: R/strj-date.R

strj_parse_dateR Documentation

Parse Japanese calendar dates

Description

Parses Japanese calendar date strings into POSIXct objects.

This function parses date strings formatted with the Japanese calendar system and converts them to POSIXct values using locale-aware ICU parsing.

Usage

strj_parse_date(date, format = default_format(), tz = NULL)

Arguments

date

A character vector containing Japanese calendar date strings.

format

A date-time format string following ICU conventions.

tz

A time zone used for the resulting POSIXct values.

Details

Partial date specifications are interpreted according to ICU parsing rules and may result in completion with the current date or time components.

Value

A POSIXct vector representing the parsed dates.

Examples

strj_parse_date("\u4ee4\u548c2\u5e747\u67086\u65e5")

audubon documentation built on Dec. 21, 2025, 5:07 p.m.