gpt4 book ai didi

org.joda.time.tz.ZoneInfoCompiler.parseYear()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 23:38:49 26 4
gpt4 key购买 nike

本文整理了Java中org.joda.time.tz.ZoneInfoCompiler.parseYear()方法的一些代码示例,展示了ZoneInfoCompiler.parseYear()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoneInfoCompiler.parseYear()方法的具体详情如下:
包路径:org.joda.time.tz.ZoneInfoCompiler
类名称:ZoneInfoCompiler
方法名:parseYear

ZoneInfoCompiler.parseYear介绍

暂无

代码示例

代码示例来源:origin: joda-time/joda-time

Rule(StringTokenizer st) {
  if (st.countTokens() < 6) {
    throw new IllegalArgumentException("Attempting to create a Rule from an incomplete tokenizer");
  }
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: JodaOrg/joda-time

Rule(StringTokenizer st) {
  if (st.countTokens() < 6) {
    throw new IllegalArgumentException("Attempting to create a Rule from an incomplete tokenizer");
  }
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: camunda/camunda-bpm-platform

Rule(StringTokenizer st) {
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: redfish64/TinyTravelTracker

Rule(StringTokenizer st) {
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby

Rule(StringTokenizer st) {
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.joda-time

Rule(StringTokenizer st) {
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

Rule(StringTokenizer st) {
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: Nextdoor/bender

Rule(StringTokenizer st) {
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: org.joda/com.springsource.org.joda.time

Rule(StringTokenizer st) {
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics

Rule(StringTokenizer st) {
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

代码示例来源:origin: io.virtdata/virtdata-lib-realer

Rule(StringTokenizer st) {
  if (st.countTokens() < 6) {
    throw new IllegalArgumentException("Attempting to create a Rule from an incomplete tokenizer");
  }
  iName = st.nextToken().intern();
  iFromYear = parseYear(st.nextToken(), 0);
  iToYear = parseYear(st.nextToken(), iFromYear);
  if (iToYear < iFromYear) {
    throw new IllegalArgumentException();
  }
  iType = parseOptional(st.nextToken());
  iDateTimeOfYear = new DateTimeOfYear(st);
  iSaveMillis = parseTime(st.nextToken());
  iLetterS = parseOptional(st.nextToken());
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com