IntlDatePatternGenerator::getPatternForSkeleton

Get the pattern corresponding to a given skeleton

public function getPatternForSkeleton(
  string $skeleton,
): string;

Parameters

  • string $skeleton - The skeleton is a pattern containing only the variable fields. For example, "MMMdd" and "mmhh" are skeletons.

Returns

  • string - - pattern