Skip to content

Commit

Permalink
Make Converters internal
Browse files Browse the repository at this point in the history
  • Loading branch information
strobelt committed Oct 28, 2021
1 parent 0742bab commit e871d39
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1953,16 +1953,6 @@ namespace Humanizer.Localisation.Ordinalizers
}
namespace Humanizer.Localisation.TimeToClockNotation
{
public class BrazilianPortugueseTimeOnlyToClockNotationConverter : Humanizer.Localisation.TimeToClockNotation.ITimeOnlyToClockNotationConverter
{
public BrazilianPortugueseTimeOnlyToClockNotationConverter() { }
public virtual string Convert(System.TimeOnly time) { }
}
public class DefaultTimeOnlyToClockNotationConverter : Humanizer.Localisation.TimeToClockNotation.ITimeOnlyToClockNotationConverter
{
public DefaultTimeOnlyToClockNotationConverter() { }
public virtual string Convert(System.TimeOnly time) { }
}
public interface ITimeOnlyToClockNotationConverter
{
string Convert(System.TimeOnly time);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Humanizer.Localisation.TimeToClockNotation
{
public class BrazilianPortugueseTimeOnlyToClockNotationConverter : ITimeOnlyToClockNotationConverter
internal class BrazilianPortugueseTimeOnlyToClockNotationConverter : ITimeOnlyToClockNotationConverter
{
public virtual string Convert(TimeOnly time)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Humanizer.Localisation.TimeToClockNotation
{
public class DefaultTimeOnlyToClockNotationConverter : ITimeOnlyToClockNotationConverter
internal class DefaultTimeOnlyToClockNotationConverter : ITimeOnlyToClockNotationConverter
{
public virtual string Convert(TimeOnly time)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#if NET6_0_OR_GREATER

using System;
using System.Collections.Generic;
using System.Text;

namespace Humanizer.Localisation.TimeToClockNotation
{
Expand Down

0 comments on commit e871d39

Please sign in to comment.