net.minecraft.server.management

## Class BanEntry

- java.lang.Object
- - net.minecraft.server.management.BanEntry

-     public class BanEntry
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static SimpleDateFormat` | `dateFormat`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BanEntry(String par1Str)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `buildBanString()`
    `Date` | `getBanEndDate()`
    `String` | `getBannedBy()`
    `String` | `getBannedUsername()`
    `String` | `getBanReason()`
    `Date` | `getBanStartDate()`
    `boolean` | `hasBanExpired()`
    `static BanEntry` | `parse(String par0Str)`
    `void` | `setBanEndDate(Date par1Date)`
    `void` | `setBannedBy(String par1Str)`
    `void` | `setBanReason(String par1Str)`
    `void` | `setBanStartDate(Date par1Date)` null == start ban now

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### dateFormat

          public static final SimpleDateFormat dateFormat

  - ### Constructor Detail

    - #### BanEntry

          public BanEntry(String par1Str)

  - ### Method Detail

    - #### getBannedUsername

          public String getBannedUsername()

    - #### getBanStartDate

          public Date getBanStartDate()

    - #### setBanStartDate

          public void setBanStartDate(Date par1Date)

      null == start ban now

    - #### getBannedBy

          public String getBannedBy()

    - #### setBannedBy

          public void setBannedBy(String par1Str)

    - #### getBanEndDate

          public Date getBanEndDate()

    - #### setBanEndDate

          public void setBanEndDate(Date par1Date)

    - #### hasBanExpired

          public boolean hasBanExpired()

    - #### getBanReason

          public String getBanReason()

    - #### setBanReason

          public void setBanReason(String par1Str)

    - #### buildBanString

          public String buildBanString()

    - #### parse

          public static BanEntry parse(String par0Str)