-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added flags field to AbstractWeatherCode
This field is an enumSet to hold possible values: AUTO, AMD, CNL, COR or NIL. Added methods to retrieve is flags are set.
- Loading branch information
Showing
17 changed files
with
309 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
metarParser-entities/src/main/java/io/github/mivek/enums/Flag.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package io.github.mivek.enums; | ||
|
||
import io.github.mivek.internationalization.Messages; | ||
|
||
/** | ||
* @author Jean-Kevin KPADEY | ||
*/ | ||
public enum Flag { | ||
/** Amended. */ | ||
AMD, | ||
/** Auto. */ | ||
AUTO, | ||
/** Cancelled. */ | ||
CNL, | ||
/** Corrected. */ | ||
COR, | ||
/** Null. */ | ||
NIL; | ||
|
||
@Override | ||
public String toString() { | ||
return Messages.getInstance().getString("Flag." + name()); | ||
} | ||
} |
Oops, something went wrong.