API changes from 1.4.x to 2.0.x
New classes
NodaTime.DateAdjusters
NodaTime.DateInterval
NodaTime.Extensions.DateTimeExtensions
NodaTime.Extensions.DateTimeOffsetExtensions
NodaTime.Extensions.DateTimeZoneProviderExtensions
NodaTime.Extensions.DayOfWeekExtensions
NodaTime.Extensions.IsoDayOfWeekExtensions
NodaTime.Extensions.StopwatchExtensions
NodaTime.Extensions.TimeSpanExtensions
NodaTime.Text.CompositePatternBuilder<T>
NodaTime.TimeAdjusters
NodaTime.TimeZones.TzdbZone1970Location
NodaTime.TimeZones.TzdbZone1970Location.Country
New structs
New type members, by type
New members in NodaTime.CalendarSystem
New members in NodaTime.DateTimeZone
New members in NodaTime.Duration
Days
Divide(Duration, Duration)
Divide(Duration, Double)
FromDays(Double)
FromHours(Double)
FromMilliseconds(Double)
FromMinutes(Double)
FromNanoseconds(Double)
FromNanoseconds(Int64)
FromNanoseconds(BigInteger)
FromSeconds(Double)
FromTicks(Double)
Hours
MaxValue
Milliseconds
Minutes
MinValue
Multiply(Duration, Double)
NanosecondOfDay
operator /(Duration, Duration)
operator /(Duration, Double)
operator *(Duration, Double)
Seconds
SubsecondNanoseconds
SubsecondTicks
ToBigIntegerNanoseconds()
ToInt64Nanoseconds()
TotalDays
TotalHours
TotalMilliseconds
TotalMinutes
TotalNanoseconds
TotalSeconds
TotalTicks
New members in NodaTime.IClock
New members in NodaTime.Instant
FromJulianDate(Double)
PlusNanoseconds(Int64)
ToJulianDate()
ToUnixTimeMilliseconds()
ToUnixTimeSeconds()
New members in NodaTime.Interval
New members in NodaTime.LocalDate
AtStartOfDayInZone(DateTimeZone)
FromDateTime(DateTime, CalendarSystem)
FromDateTime(DateTime)
FromYearMonthWeekAndDay(Int32, Int32, Int32, IsoDayOfWeek)
Minus(LocalDate)
operator -(LocalDate, LocalDate)
Subtract(LocalDate, LocalDate)
ToDateTimeUnspecified()
With(Func<LocalDate, LocalDate>)
New members in NodaTime.LocalDateTime
FromDateTime(DateTime, CalendarSystem)
Minus(LocalDateTime)
NanosecondOfDay
NanosecondOfSecond
operator -(LocalDateTime, LocalDateTime)
PlusNanoseconds(Int64)
Subtract(LocalDateTime, LocalDateTime)
With(Func<LocalDate, LocalDate>)
With(Func<LocalTime, LocalTime>)
New members in NodaTime.LocalTime
FromHourMinuteSecondNanosecond(Int32, Int32, Int32, Int64)
MaxValue
Minus(LocalTime)
MinValue
NanosecondOfDay
NanosecondOfSecond
operator -(LocalTime, LocalTime)
PlusNanoseconds(Int64)
Subtract(LocalTime, LocalTime)
With(Func<LocalTime, LocalTime>)
New members in NodaTime.NodaConstants
JulianEpoch
NanosecondsPerDay
NanosecondsPerHour
NanosecondsPerMillisecond
NanosecondsPerMinute
NanosecondsPerSecond
NanosecondsPerTick
NanosecondsPerWeek
New members in NodaTime.Offset
New members in NodaTime.OffsetDateTime
Add(OffsetDateTime, Duration)
Minus(Duration)
Minus(OffsetDateTime)
NanosecondOfDay
NanosecondOfSecond
operator +(OffsetDateTime, Duration)
operator -(OffsetDateTime, Duration)
operator -(OffsetDateTime, OffsetDateTime)
Plus(Duration)
PlusHours(Int32)
PlusMilliseconds(Int64)
PlusMinutes(Int32)
PlusNanoseconds(Int64)
PlusSeconds(Int64)
PlusTicks(Int64)
Subtract(OffsetDateTime, Duration)
Subtract(OffsetDateTime, OffsetDateTime)
With(Func<LocalDate, LocalDate>)
With(Func<LocalTime, LocalTime>)
New members in NodaTime.OffsetDateTime.Comparer
New members in NodaTime.Period
New members in NodaTime.PeriodBuilder
New members in NodaTime.PeriodUnits
New members in NodaTime.SystemClock
New members in NodaTime.Text.DurationPattern
New members in NodaTime.Text.InstantPattern
New members in NodaTime.Text.IPattern<T>
New members in NodaTime.Text.LocalDatePattern
New members in NodaTime.Text.LocalDateTimePattern
AppendFormat(LocalDateTime, StringBuilder)
FullRoundtripWithoutCalendar
WithCalendar(CalendarSystem)
New members in NodaTime.Text.LocalTimePattern
New members in NodaTime.Text.OffsetDateTimePattern
New members in NodaTime.Text.OffsetPattern
New members in NodaTime.Text.PeriodPattern
New members in NodaTime.Text.ZonedDateTimePattern
New members in NodaTime.TimeZones.BclDateTimeZoneSource
New members in NodaTime.TimeZones.Cldr.MapZone
New members in NodaTime.TimeZones.IDateTimeZoneSource
New members in NodaTime.TimeZones.Resolvers
New members in NodaTime.TimeZones.TzdbDateTimeZoneSource
New members in NodaTime.TimeZones.ZoneInterval
New members in NodaTime.ZonedDateTime
Minus(ZonedDateTime)
NanosecondOfDay
NanosecondOfSecond
operator -(ZonedDateTime, ZonedDateTime)
PlusHours(Int32)
PlusMilliseconds(Int64)
PlusMinutes(Int32)
PlusNanoseconds(Int64)
PlusSeconds(Int64)
PlusTicks(Int64)
Subtract(ZonedDateTime, ZonedDateTime)
WithCalendar(CalendarSystem)
New members in NodaTime.ZonedDateTime.Comparer
Removed classes
NodaTime.ClockExtensions
NodaTime.TimeZones.DateTimeZoneSourceExtensions
Removed type members, by type
Removed members in NodaTime.Calendars.Era
AnnoMartyrm
Removed members in NodaTime.CalendarSystem
GetCopticCalendar(Int32)
GetGregorianCalendar(Int32)
GetJulianCalendar(Int32)
GetMaxMonth(Int32)
GetPersianCalendar()
UsesIsoDayOfWeek
Removed members in NodaTime.DateTimeZone
Equals(DateTimeZone)
Equals(Object)
EqualsImpl(DateTimeZone)
GetHashCode()
Removed members in NodaTime.DateTimeZoneProviders
Default
Removed members in NodaTime.Duration
FromHours(Int64)
FromStandardDays(Int64)
FromStandardWeeks(Int64)
Ticks
Removed members in NodaTime.IClock
Now
Removed members in NodaTime.Instant
Instant(Int64)
FromMillisecondsSinceUnixEpoch(Int64)
FromSecondsSinceUnixEpoch(Int64)
FromTicksSinceUnixEpoch(Int64)
Ticks
Removed members in NodaTime.LocalDate
IsoDayOfWeek
WeekOfWeekYear
WeekYear
YearOfCentury
Removed members in NodaTime.LocalDateTime
LocalDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, CalendarSystem)
LocalDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
CenturyOfEra
IsoDayOfWeek
WeekOfWeekYear
WeekYear
YearOfCentury
Removed members in NodaTime.LocalTime
LocalTime(Int32, Int32, Int32, Int32, Int32)
LocalDateTime
Removed members in NodaTime.NodaConstants
DaysPerStandardWeek
HoursPerStandardDay
HoursPerStandardWeek
MillisecondsPerStandardDay
MillisecondsPerStandardWeek
MinutesPerStandardDay
MinutesPerStandardWeek
SecondsPerStandardDay
TicksPerStandardDay
TicksPerStandardWeek
Removed members in NodaTime.OffsetDateTime
IsoDayOfWeek
WeekOfWeekYear
WeekYear
YearOfCentury
Removed members in NodaTime.Period
FromDays(Int64)
FromMillseconds(Int64)
FromMonths(Int64)
FromWeeks(Int64)
FromYears(Int64)
Removed members in NodaTime.SystemClock
Now
Removed members in NodaTime.Text.DurationPattern
RoundtripPattern
Removed members in NodaTime.Text.InstantPattern
CreateNumericPattern(CultureInfo, Boolean)
ExtendedIsoPattern
GeneralPattern
WithMinMaxLabels(String, String)
Removed members in NodaTime.Text.LocalDatePattern
IsoPattern
Removed members in NodaTime.Text.LocalDateTimePattern
BclRoundtripPattern
ExtendedIsoPattern
FullRoundtripPattern
GeneralIsoPattern
Removed members in NodaTime.Text.LocalTimePattern
ExtendedIsoPattern
Removed members in NodaTime.Text.OffsetDateTimePattern
ExtendedIsoPattern
FullRoundtripPattern
GeneralIsoPattern
Rfc3339Pattern
Removed members in NodaTime.Text.OffsetPattern
GeneralInvariantPattern
GeneralInvariantPatternWithZ
Removed members in NodaTime.Text.PeriodPattern
NormalizingIsoPattern
RoundtripPattern
Removed members in NodaTime.Text.ZonedDateTimePattern
ExtendedFormatOnlyIsoPattern
GeneralFormatOnlyIsoPattern
Removed members in NodaTime.TimeZones.BclDateTimeZone
EqualsImpl(DateTimeZone)
GetHashCode()
Removed members in NodaTime.TimeZones.BclDateTimeZoneSource
MapTimeZoneId(TimeZoneInfo)
Removed members in NodaTime.TimeZones.IDateTimeZoneSource
MapTimeZoneId(TimeZoneInfo)
Removed members in NodaTime.TimeZones.TzdbDateTimeZoneSource
TzdbDateTimeZoneSource(ResourceManager)
TzdbDateTimeZoneSource(ResourceSet)
TzdbDateTimeZoneSource(String, Assembly)
TzdbDateTimeZoneSource(String)
MapTimeZoneId(TimeZoneInfo)
Removed members in NodaTime.TimeZones.ZoneInterval
ZoneInterval(String, Instant, Instant, Offset, Offset)
Removed members in NodaTime.ZonedClock
IClock.Now
Removed members in NodaTime.ZonedDateTime
CenturyOfEra
CompareTo(ZonedDateTime)
IsoDayOfWeek
operator >(ZonedDateTime, ZonedDateTime)
operator >=(ZonedDateTime, ZonedDateTime)
operator <(ZonedDateTime, ZonedDateTime)
operator <=(ZonedDateTime, ZonedDateTime)
IComparable.CompareTo(Object)
WeekOfWeekYear
WeekYear
YearOfCentury