Skip to content

Commit 90e8941

Browse files
committed
Quote in Dates
1 parent 718cfa3 commit 90e8941

File tree

2 files changed

+48
-48
lines changed

2 files changed

+48
-48
lines changed

base/docs/helpdb.jl

+24-24
Original file line numberDiff line numberDiff line change
@@ -11969,7 +11969,7 @@ Dates.firstdayofweek
1196911969
doc"""
1197011970
datetime2unix(dt::DateTime) -> Float64
1197111971
11972-
Takes the given DateTime and returns the number of seconds since the unix epoch as a `Float64`.
11972+
Takes the given `DateTime` and returns the number of seconds since the unix epoch as a `Float64`.
1197311973
"""
1197411974
Dates.datetime2unix
1197511975

@@ -11983,29 +11983,29 @@ Dates.dayofweekofmonth
1198311983
doc"""
1198411984
monthabbr(dt::TimeType; locale="english") -> AbstractString
1198511985
11986-
Return the abbreviated month name of the Date or DateTime in the given `locale`.
11986+
Return the abbreviated month name of the `Date` or `DateTime` in the given `locale`.
1198711987
"""
1198811988
Dates.monthabbr
1198911989

1199011990
doc"""
1199111991
datetime2julian(dt::DateTime) -> Float64
1199211992
11993-
Takes the given DateTime and returns the number of Julian calendar days since the julian epoch as a `Float64`.
11993+
Takes the given `DateTime` and returns the number of Julian calendar days since the julian epoch as a `Float64`.
1199411994
"""
1199511995
Dates.datetime2julian
1199611996

1199711997
doc"""
1199811998
dayabbr(dt::TimeType; locale="english") -> AbstractString
1199911999
12000-
Return the abbreviated name corresponding to the day of the week of the Date or DateTime in the given `locale`.
12000+
Return the abbreviated name corresponding to the day of the week of the `Date` or `DateTime` in the given `locale`.
1200112001
"""
1200212002
Dates.dayabbr
1200312003

1200412004
doc"""
1200512005
```rst
1200612006
.. DateTime(y, [m, d, h, mi, s, ms]) -> DateTime
1200712007
12008-
Construct a DateTime type by parts. Arguments must be convertible to ``Int64``.
12008+
Construct a ``DateTime`` type by parts. Arguments must be convertible to ``Int64``.
1200912009
```
1201012010
"""
1201112011
Dates.DateTime(y)
@@ -12014,7 +12014,7 @@ doc"""
1201412014
```rst
1201512015
.. DateTime(periods::Period...) -> DateTime
1201612016
12017-
Constuct a DateTime type by ``Period`` type parts. Arguments may be in any order.
12017+
Constuct a ``DateTime`` type by ``Period`` type parts. Arguments may be in any order.
1201812018
DateTime parts not provided will default to the value of ``Dates.default(period)``.
1201912019
```
1202012020
"""
@@ -12024,7 +12024,7 @@ doc"""
1202412024
```rst
1202512025
.. DateTime(f::Function, y[, m, d, h, mi, s]; step=Day(1), negate=false, limit=10000) -> DateTime
1202612026
12027-
Create a DateTime through the adjuster API. The starting point will be constructed from the
12027+
Create a ``DateTime`` through the adjuster API. The starting point will be constructed from the
1202812028
provided ``y, m, d...`` arguments, and will be adjusted until ``f::Function`` returns ``true``. The step size in
1202912029
adjusting can be provided manually through the ``step`` keyword. If ``negate=true``, then the adjusting
1203012030
will stop when ``f::Function`` returns ``false`` instead of ``true``. ``limit`` provides a limit to
@@ -12047,7 +12047,7 @@ doc"""
1204712047
```rst
1204812048
.. DateTime(dt::AbstractString, format::AbstractString; locale="english") -> DateTime
1204912049
12050-
Construct a DateTime type by parsing the ``dt`` date string following the pattern given in
12050+
Construct a ``DateTime`` type by parsing the ``dt`` date string following the pattern given in
1205112051
the ``format`` string. The following codes can be used for constructing format strings:
1205212052
1205312053
=============== ========= ===============================================================
@@ -12085,21 +12085,21 @@ Dates.DateTime(dt::AbstractString, df::Dates.DateFormat)
1208512085
doc"""
1208612086
datetime2rata(dt::TimeType) -> Int64
1208712087
12088-
Returns the number of Rata Die days since epoch from the given Date or DateTime.
12088+
Returns the number of Rata Die days since epoch from the given `Date` or `DateTime`.
1208912089
"""
1209012090
Dates.datetime2rata
1209112091

1209212092
doc"""
1209312093
monthname(dt::TimeType; locale="english") -> AbstractString
1209412094
12095-
Return the full name of the month of the Date or DateTime in the given `locale`.
12095+
Return the full name of the month of the `Date` or `DateTime` in the given `locale`.
1209612096
"""
1209712097
Dates.monthname
1209812098

1209912099
doc"""
1210012100
dayname(dt::TimeType; locale="english") -> AbstractString
1210112101
12102-
Return the full day name corresponding to the day of the week of the Date or DateTime in the given `locale`.
12102+
Return the full day name corresponding to the day of the week of the `Date` or `DateTime` in the given `locale`.
1210312103
"""
1210412104
Dates.dayname
1210512105

@@ -12113,14 +12113,14 @@ Dates.Date(y)
1211312113
doc"""
1211412114
Date(period::Period...) -> Date
1211512115
12116-
Constuct a Date type by `Period` type parts. Arguments may be in any order. Date parts not provided will default to the value of `Dates.default(period)`.
12116+
Constuct a `Date` type by `Period` type parts. Arguments may be in any order. `Date` parts not provided will default to the value of `Dates.default(period)`.
1211712117
"""
1211812118
Dates.Date(period::Dates.Period...)
1211912119

1212012120
doc"""
1212112121
Date(f::Function, y[, m]; step=Day(1), negate=false, limit=10000) -> Date
1212212122
12123-
Create a Date through the adjuster API. The starting point will be constructed from the provided `y, m` arguments, and will be adjusted until `f::Function` returns `true`. The step size in adjusting can be provided manually through the `step` keyword. If `negate=true`, then the adjusting will stop when `f::Function` returns `false` instead of `true`. `limit` provides a limit to the max number of iterations the adjustment API will pursue before throwing an error (given that `f::Function` is never satisfied).
12123+
Create a `Date` through the adjuster API. The starting point will be constructed from the provided `y, m` arguments, and will be adjusted until `f::Function` returns `true`. The step size in adjusting can be provided manually through the `step` keyword. If `negate=true`, then the adjusting will stop when `f::Function` returns `false` instead of `true`. `limit` provides a limit to the max number of iterations the adjustment API will pursue before throwing an error (given that `f::Function` is never satisfied).
1212412124
"""
1212512125
Dates.Date(f::Function, y)
1212612126

@@ -12134,7 +12134,7 @@ Dates.Date(dt::DateTime)
1213412134
doc"""
1213512135
Date(dt::AbstractString, format::AbstractString; locale="english") -> Date
1213612136
12137-
Construct a Date type by parsing a `dt` date string following the pattern given in the `format` string. Follows the same conventions as `DateTime` above.
12137+
Construct a `Date` type by parsing a `dt` date string following the pattern given in the `format` string. Follows the same conventions as `DateTime` above.
1213812138
"""
1213912139
Dates.Date(dt::AbstractString, format::AbstractString)
1214012140

@@ -12192,7 +12192,7 @@ doc"""
1219212192
.. julian2datetime(julian_days) -> DateTime
1219312193
1219412194
Takes the number of Julian calendar days since epoch
12195-
``-4713-11-24T12:00:00`` and returns the corresponding DateTime.
12195+
``-4713-11-24T12:00:00`` and returns the corresponding ``DateTime``.
1219612196
```
1219712197
"""
1219812198
Dates.julian2datetime
@@ -12207,7 +12207,7 @@ doc"""
1220712207
second(dt::TimeType) -> Int64
1220812208
millisecond(dt::TimeType) -> Int64
1220912209
12210-
Return the field part of a Date or DateTime as an `Int64`.
12210+
Return the field part of a `Date` or `DateTime` as an `Int64`.
1221112211
"""
1221212212
Dates.year
1221312213

@@ -12252,7 +12252,7 @@ Dates.daysinmonth
1225212252
doc"""
1225312253
yearmonth(dt::TimeType) -> (Int64, Int64)
1225412254
12255-
Simultaneously return the year and month parts of a Date or DateTime.
12255+
Simultaneously return the year and month parts of a `Date` or `DateTime`.
1225612256
"""
1225712257
Dates.yearmonth
1225812258

@@ -12266,7 +12266,7 @@ Dates.daysofweekinmonth
1226612266
doc"""
1226712267
yearmonthday(dt::TimeType) -> (Int64, Int64, Int64)
1226812268
12269-
Simultaneously return the year, month, and day parts of a Date or DateTime.
12269+
Simultaneously return the year, month, and day parts of a `Date` or `DateTime`.
1227012270
"""
1227112271
Dates.yearmonthday
1227212272

@@ -12294,7 +12294,7 @@ Dates.recur
1229412294
doc"""
1229512295
monthday(dt::TimeType) -> (Int64, Int64)
1229612296
12297-
Simultaneously return the month and day parts of a Date or DateTime.
12297+
Simultaneously return the month and day parts of a `Date` or `DateTime`.
1229812298
"""
1229912299
Dates.monthday
1230012300

@@ -12310,7 +12310,7 @@ doc"""
1231012310
.. unix2datetime(x) -> DateTime
1231112311
1231212312
Takes the number of seconds since unix epoch ``1970-01-01T00:00:00``
12313-
and converts to the corresponding DateTime.
12313+
and converts to the corresponding ``DateTime``.
1231412314
```
1231512315
"""
1231612316
Dates.unix2datetime
@@ -12335,22 +12335,22 @@ doc"""
1233512335
.. rata2datetime(days) -> DateTime
1233612336
1233712337
Takes the number of Rata Die days since epoch ``0000-12-31T00:00:00``
12338-
and returns the corresponding DateTime.
12338+
and returns the corresponding ``DateTime``.
1233912339
```
1234012340
"""
1234112341
Dates.rata2datetime
1234212342

1234312343
doc"""
1234412344
now() -> DateTime
1234512345
12346-
Returns a DateTime corresponding to the user's system time including the system timezone locale.
12346+
Returns a `DateTime` corresponding to the user's system time including the system timezone locale.
1234712347
"""
1234812348
now
1234912349

1235012350
doc"""
1235112351
now(::Type{UTC}) -> DateTime
1235212352
12353-
Returns a DateTime corresponding to the user's system time as UTC/GMT.
12353+
Returns a `DateTime` corresponding to the user's system time as UTC/GMT.
1235412354
"""
1235512355
Dates.now(::Type{Dates.UTC})
1235612356

@@ -12406,7 +12406,7 @@ doc"""
1240612406
Second(dt::TimeType) -> Second
1240712407
Millisecond(dt::TimeType) -> Millisecond
1240812408
12409-
Return the field part of a Date or DateTime as a `Period` type.
12409+
Return the field part of a `Date` or `DateTime` as a `Period` type.
1241012410
"""
1241112411
Dates.Year(dt::Dates.TimeType)
1241212412

0 commit comments

Comments
 (0)