Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Indicate positional candidate to be for 6.d
  • Loading branch information
lizmat committed Jan 11, 2016
1 parent fea4938 commit 150795b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Type/DateTime.pod
Expand Up @@ -51,7 +51,7 @@ Defined as:
Int :$timezone = 0, :&formatter)
multi method new(Int() $year, Int() $month, Int() $day,
Int() $hour, Int $minute, $second,
Int() :$timezone = 0, :&formatter)
Int() :$timezone = 0, :&formatter) # since 6.d
multi method new(Instant:D $i, :$timezone=0, :&formatter)
multi method new(Int:D $posix, :$timezone=0, :&formatter)
multi method new(Str:D $format, :$timezone=0, :&formatter)
Expand All @@ -63,7 +63,7 @@ Usage:
$datetime = DateTime.new(DATE, HOUR?, MINUTE?, SECOND?, TIMEZONE?,
FORMATTER?)
$datetime = DateTime.new(YEAR, MONTH, DAY, HOUR, MINUTE, SECOND,
TIMEZONE?, FORMATTER?)
TIMEZONE?, FORMATTER?) # since 6.d
$datetime = DateTime.new(INSTANT, TIMEZONE?, FORMATTER?)
$datetime = DateTime.new(TIMESTAMP, TIMEZONE?, FORMATTER?)
$datetime = DateTime.new(FORMAT, TIMEZONE?, FORMATTER?)
Expand Down

0 comments on commit 150795b

Please sign in to comment.