fuget.org
Carbon.Time
by iamcarbon
1.24.0
23 Oct 21
Toggle Dropdown
Version 2
2.6.0
26 Apr 24
2.5.0
26 Apr 24
2.4.0
10 Nov 23
2.3.0
29 Jul 23
2.2.0
13 Apr 23
2.1.0
13 Apr 23
2.0.1
4 Nov 22
2.0.0
4 Nov 22
Version 1
1.29.0
1 Nov 22
1.28.0
16 Sep 22
1.27.0
16 Sep 22
1.26.0
18 Jul 22
1.25.0
29 Jun 22
1.24.1
5 Dec 21
1.24.0
23 Oct 21
1.23.0
23 Oct 21
1.22.0
30 Sep 21
1.21.0
29 Jul 21
1.20.0
29 Jul 21
1.19.0
11 May 21
1.18.0
30 Mar 21
1.17.0
20 Feb 21
1.16.0
26 Jan 21
1.15.1
12 Jan 21
1.15.0
12 Dec 20
1.14.0
12 Dec 20
1.13.0
28 Oct 20
1.12.0
2 Apr 20
1.11.0
5 May 19
1.10.0
4 May 19
1.9.0
17 Apr 18
1.8.0
15 Mar 18
1.7.0
28 Dec 17
1.6.0
12 Dec 17
1.5.0
30 Oct 17
1.4.0
27 Oct 17
1.3.0
15 Aug 17
1.2.0
2 Mar 17
1.1.0
13 Jan 17
API Diff
with 1.4.0
Toggle Dropdown
Version 2
2.6.0
26 Apr 24
2.5.0
26 Apr 24
2.4.0
10 Nov 23
2.3.0
29 Jul 23
2.2.0
13 Apr 23
2.1.0
13 Apr 23
2.0.1
4 Nov 22
2.0.0
4 Nov 22
Version 1
1.29.0
1 Nov 22
1.28.0
16 Sep 22
1.27.0
16 Sep 22
1.26.0
18 Jul 22
1.25.0
29 Jun 22
1.24.1
5 Dec 21
1.24.0
23 Oct 21
1.23.0
23 Oct 21
1.22.0
30 Sep 21
1.21.0
29 Jul 21
1.20.0
29 Jul 21
1.19.0
11 May 21
1.18.0
30 Mar 21
1.17.0
20 Feb 21
1.16.0
26 Jan 21
1.15.1
12 Jan 21
1.15.0
12 Dec 20
1.14.0
12 Dec 20
1.13.0
28 Oct 20
1.12.0
2 Apr 20
1.11.0
5 May 19
1.10.0
4 May 19
1.9.0
17 Apr 18
1.8.0
15 Mar 18
1.7.0
28 Dec 17
1.6.0
12 Dec 17
1.5.0
30 Oct 17
1.4.0
27 Oct 17
1.3.0
15 Aug 17
1.2.0
2 Mar 17
1.1.0
13 Jan 17
Carbon.Time.1.24.0.nupkg
nuget.org
MIT License
<
PackageReference
Include
=
"Carbon.Time"
Version
=
"1.24.0"
/>
Frameworks
net6.0
API Diff between 1.24.0 and 1.4.0
62
Additions
14
Removals
Carbon.Time
public
sealed
class
AnchoredMonthlyInterval
:
Interval
public
AnchoredMonthlyInterval
(
int
numberOfMonths
,
DateTime
anchor
)
public
static
class
Clock
public
static
LocalClock
Local
(
TimeZoneInfo
timeZone
)
public
static
ZonedClock
Zoned
(
TimeZoneInfo
timeZone
)
public
struct
DateRange
:
IEquatable
<
DateRange
>,
IDateRange
public
static
bool
op_Equality
(
DateRange
left
,
DateRange
right
)
public
static
bool
op_Inequality
(
DateRange
left
,
DateRange
right
)
public
static
class
DateTimeExtensions
public
static
string
ToRelativeTimeString
(
this
DateTimeOffset
date
,
IClock
clock
)
public
static
bool
Within
(
this
DateTime
date
,
DateRange
period
)
public
static
bool
Within
(
this
DateTime
date
,
ref
DateRange
period
)
public
struct
Duration
:
IEquatable
<
Duration
>
public
float
Seconds
{
get
;
set
; }
public
double
Seconds
{
get
;
set
; }
public
Duration
()
public
static
bool
op_Equality
(
Duration
left
,
Duration
right
)
public
static
Duration
op_Implicit
(
TimeSpan
value
)
public
static
bool
op_Inequality
(
Duration
left
,
Duration
right
)
public
static
Duration
Parse
(
ReadOnlySpan
<
char
>
text
)
public
static
Duration
Parse
(
ReadOnlySpan
<
byte
>
utf8Bytes
)
public
static
Duration
ParseCompact
(
ReadOnlySpan
<
char
>
text
)
public
static
Duration
ParseCompact
(
ReadOnlySpan
<
byte
>
utf8Bytes
)
public
static
bool
TryParse
(
string
text
,
out
Duration
duration
)
public
string
ToCompactString
()
public
sealed
class
IanaTimeZone
:
ITimeZone
,
ICustomFormatter
public
IClock
Clock
{
get
; }
public
string
Id
{
get
; }
public
TimeZoneInfo
TimeZoneInfo
{
get
; }
public
IanaTimeZone
(
string
id
,
TimeZoneInfo
tz
)
public
static
IanaTimeZone
Get
(
string
ianaId
)
public
static
bool
TryGet
(
string
tzId
,
out
IanaTimeZone
timeZone
)
public
TimeSpan
GetUtcOffset
(
DateTime
dateTime
)
public
TimeSpan
GetUtcOffset
(
DateTimeOffset
dateTime
)
public
DateTime
ToUtcTime
(
DateTime
zoneTime
)
public
DateTime
ToZoneTime
(
DateTime
utcTime
)
public
DateTimeOffset
ToZoneTime
(
DateTimeOffset
dateTimeOffset
)
public
abstract
class
Interval
public
abstract
string
Description
{
get
; }
public
abstract
Duration
Duration
{
get
; }
public
static
FixedInterval
Hourly
(
int
number
=
1
)
public
static
Duration
op_Implicit
(
Interval
interval
)
public
abstract
string
GetDescription
()
public
abstract
Duration
ToDuration
()
public
interface
ITimeZone
string
Name
{
get
; }
string
Id
{
get
; }
DateTime
ToLocalTime
(
DateTime
utcTime
)
DateTime
ToZoneTime
(
DateTime
utcDateTime
)
DateTimeOffset
ToZoneTime
(
DateTimeOffset
dateTimeOffset
)
public
sealed
class
LocalClock
:
IClock
public
static
class
TimeSpanExtensions
public
static
string
ToTinyString
(
this
TimeSpan
ts
)
public
struct
Timestamp
:
IComparable
<
Timestamp
>,
IEquatable
<
Timestamp
>
public
DateTime
DateTime
{
get
; }
public
long
Value
{
get
; }
public
Timestamp
(
long
value
)
public
Timestamp
(
DateTime
date
)
public
static
bool
op_Equality
(
Timestamp
left
,
Timestamp
right
)
public
static
bool
op_GreaterThan
(
Timestamp
left
,
Timestamp
right
)
public
static
bool
op_GreaterThanOrEqual
(
Timestamp
left
,
Timestamp
right
)
public
static
DateTime
op_Implicit
(
Timestamp
ts
)
public
static
long
op_Implicit
(
Timestamp
ts
)
public
static
bool
op_Inequality
(
Timestamp
left
,
Timestamp
right
)
public
static
bool
op_LessThan
(
Timestamp
left
,
Timestamp
right
)
public
static
bool
op_LessThanOrEqual
(
Timestamp
left
,
Timestamp
right
)
public
int
CompareTo
(
Timestamp
other
)
public
bool
Equals
(
Timestamp
other
)
public
long
ToUnixTimeMillseconds
()
public
long
ToUnixTimeSeconds
()
public
static
class
TZMap
public
static
class
UnixTime
public
static
int
FromDate
(
DateTime
date
)
public
static
int
GetCurrent
()
public
static
DateTime
ToDate
(
int
secondsSince1970
)
public
const
long
EpochTicks
=
621355968000000000
public
static
long
FromDate
(
DateTime
date
)
public
static
long
GetCurrent
()
public
static
DateTime
ToDate
(
long
secondsSince1970
)
public
sealed
class
ZonedClock
:
IClock
public
ZonedClock
(
TimeZoneInfo
timeZone
)
public
DateTime
Observe
()
Carbon.Time.Converters
public
sealed
class
TimeSpanJsonConverter
:
JsonConverter
<
TimeSpan
>
public
TimeSpanJsonConverter
()