|
|
|
@ -1,5 +1,7 @@ |
|
|
|
package net.pokeranalytics.android.util.csv |
|
|
|
package net.pokeranalytics.android.util.csv |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.* |
|
|
|
|
|
|
|
|
|
|
|
class ProductCSVDescriptors { |
|
|
|
class ProductCSVDescriptors { |
|
|
|
|
|
|
|
|
|
|
|
companion object { |
|
|
|
companion object { |
|
|
|
@ -153,40 +155,6 @@ class ProductCSVDescriptors { |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// val pokerAnalyticsiOS: CSVDescriptor |
|
|
|
|
|
|
|
// get() { |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// return SessionCSVDescriptor( |
|
|
|
|
|
|
|
// DataSource.POKER_ANALYTICS, |
|
|
|
|
|
|
|
// null, |
|
|
|
|
|
|
|
// SessionField.Start("Start Date"), |
|
|
|
|
|
|
|
// SessionField.End("End Date"), |
|
|
|
|
|
|
|
// SessionField.Break("Break"), |
|
|
|
|
|
|
|
// SessionField.SessionType("Type"), |
|
|
|
|
|
|
|
// SessionField.Live("Live"), |
|
|
|
|
|
|
|
// SessionField.NumberOfTables("Tables"), |
|
|
|
|
|
|
|
// SessionField.Buyin("Buy In"), |
|
|
|
|
|
|
|
// SessionField.CashedOut("Cashed Out"), |
|
|
|
|
|
|
|
// SessionField.NetResult("Online Net"), |
|
|
|
|
|
|
|
// SessionField.Tips("Tips"), |
|
|
|
|
|
|
|
// SessionField.LimitType("Limit"), |
|
|
|
|
|
|
|
// SessionField.Game("Game"), |
|
|
|
|
|
|
|
// SessionField.TableSize("Table Size"), |
|
|
|
|
|
|
|
// SessionField.Location("Location"), |
|
|
|
|
|
|
|
// SessionField.Bankroll("Bankroll"), |
|
|
|
|
|
|
|
// SessionField.CurrencyCode("Currency Code"), |
|
|
|
|
|
|
|
// SessionField.CurrencyRate("Currency Rate"), |
|
|
|
|
|
|
|
// SessionField.SmallBlind("Small Blind"), |
|
|
|
|
|
|
|
// SessionField.BigBlind("Big Blind"), |
|
|
|
|
|
|
|
// SessionField.TournamentType("Tournament Type"), |
|
|
|
|
|
|
|
// SessionField.TournamentEntryFee("Entry fee"), |
|
|
|
|
|
|
|
// SessionField.TournamentNumberOfPlayers("Number of players"), |
|
|
|
|
|
|
|
// SessionField.TournamentPosition("Position"), |
|
|
|
|
|
|
|
// SessionField.Comment("Note") |
|
|
|
|
|
|
|
// ) |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private val pokerAnalyticsiOS: CSVDescriptor |
|
|
|
private val pokerAnalyticsiOS: CSVDescriptor |
|
|
|
get() { |
|
|
|
get() { |
|
|
|
return SessionCSVDescriptor( |
|
|
|
return SessionCSVDescriptor( |
|
|
|
@ -194,10 +162,7 @@ class ProductCSVDescriptors { |
|
|
|
true, |
|
|
|
true, |
|
|
|
SessionField.Start("Start Date", dateFormat = "MM/dd/yy HH:mm:ss"), |
|
|
|
SessionField.Start("Start Date", dateFormat = "MM/dd/yy HH:mm:ss"), |
|
|
|
SessionField.End("End Date", dateFormat = "MM/dd/yy HH:mm:ss"), |
|
|
|
SessionField.End("End Date", dateFormat = "MM/dd/yy HH:mm:ss"), |
|
|
|
SessionField.Break("Break", callback = { string -> |
|
|
|
SessionField.Break("Break", Calendar.SECOND), |
|
|
|
val number = NumberCSVField.defaultParse(string) |
|
|
|
|
|
|
|
return@Break number?.times(1000.0) |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
SessionField.SessionType("Type"), |
|
|
|
SessionField.SessionType("Type"), |
|
|
|
SessionField.Live("Live"), |
|
|
|
SessionField.Live("Live"), |
|
|
|
SessionField.NumberOfTables("Tables"), |
|
|
|
SessionField.NumberOfTables("Tables"), |
|
|
|
|